the options to set
OptionalcrossOrigin?: stringthe crossOrigin attribute of the
<video> and <script> elements and glTF images the loader creates
("anonymous" or "use-credentials"). Every other asset is always
requested with CORS. See crossOrigin.
Optionalnocache?: booleanwhen true, append a random query string to every asset URL, so the browser fetches a fresh copy rather than a cached one (development only: it also defeats the HTTP cache in production)
OptionalwithCredentials?: booleanwhether requests to another origin carry credentials (cookies, HTTP authentication). Requests to the game's own origin always carry them. See withCredentials.
Set the loader's global options, for every asset loaded from then on. Each option left out keeps its current value.