LensStudio:AssetUtils.js.findOrCreateObjectTrackingTexture
FunctionFinds or creates an object tracking texture asset.
findOrCreateObjectTrackingTexture(
assetManager,destination,type):Asset
Finds or creates an object tracking texture asset.
Parameters
| Parameter | Type | Description |
|---|---|---|
assetManager | AssetManager | The asset manager to search for or create the asset. |
destination | Path | The destination path for the asset. |
type | ObjectTrackingTextureType | The type of the object tracking texture. |
Returns
The found or created object tracking texture asset.