LensStudio:AssetUtils.js.getResourceFile
FunctionRetrieves the resource file absolute path for the specified asset type.
getResourceFile(
assetType):Path
Retrieves the resource file absolute path for the specified asset type.
Parameters
| Parameter | Type | Description |
|---|---|---|
assetType | ShaderGraphType | The type of the asset, use ShaderGraphType enum. |
Returns
The absolute path of the resource file.