Function RegisterSmartAsset
-
RegisterSmartAsset(
scene: Scene,
key: string,
url: string,
options?: SmartAssetRegistrationOptions,
): voidParameters
- scene: Scene
The scene whose smart asset registry to update.
- key: string
Unique string identifier for this asset.
- url: string
URL or path to the asset file.
Optionaloptions: SmartAssetRegistrationOptionsOptional loader hints and metadata for this asset.
Returns void
- scene: Scene
Registers a smart asset entry mapping a key to a URL.