Skip to main content

LensStudio:AssetUtils.js.getResourceFile

Function

Retrieves 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

ParameterTypeDescription
assetTypeShaderGraphTypeThe type of the asset, use ShaderGraphType enum.

Returns

Path

The absolute path of the resource file.