LensStudio:AssetUtils.js.findOrCreateScreenTexture
FunctionFinds or creates a screen texture asset.
findOrCreateScreenTexture(
assetManager,destination):Asset
Finds or creates a screen texture asset.
Parameters
| Parameter | Type | Description |
|---|---|---|
assetManager | AssetManager | The asset manager to use. |
destination | Path | The destination path for the asset. |
Returns
The screen texture asset.