Interface LoadAssetContainerOptions
interface LoadAssetContainerOptions {
name?: string;
onProgress?: (event: ISceneLoaderProgressEvent) => void;
pluginExtension?: string;
pluginOptions?: {
[key: string]:
| { enabled?: boolean; [key: string]: unknown }
| undefined;
};
rootUrl?: string;
}
name?: string;
onProgress?: (event: ISceneLoaderProgressEvent) => void;
pluginExtension?: string;
pluginOptions?: {
[key: string]:
| { enabled?: boolean; [key: string]: unknown }
| undefined;
};
rootUrl?: string;
}
Hierarchy
- ISceneLoaderOptions
- LoadAssetContainerOptions
Properties
Optionalname
name?: string
Defines the filename, if the data is binary
Optionalon Progress
A callback with a progress event for each file being loaded
Optionalplugin Extension
pluginExtension?: string
The extension used to determine the plugin
Optionalplugin Options
pluginOptions?: {
[key: string]: { enabled?: boolean; [key: string]: unknown } | undefined;
}
[key: string]: { enabled?: boolean; [key: string]: unknown } | undefined;
}
Defines options for the registered plugins
Optionalroot Url
rootUrl?: string
A string that defines the root url for the scene and resources or the concatenation of rootURL and filename (e.g. http://example.com/test.glb)
Defines options for LoadAssetContainerAsync.