Click or drag to resize

IAssetFactoryGetAssetByPath Method (String, Boolean)

Retrieves a Asset by its path

Namespace:  Ingeniux.Runtime.Assets
Assembly:  IGXRuntimeAPI (in IGXRuntimeAPI.dll) Version: 10.6.308
Syntax
IAsset GetAssetByPath(
	string path,
	out bool fromAlias
)

Parameters

path
Type: SystemString
Asset path
fromAlias
Type: SystemBoolean
returns true if the requested path is an alias asset

Return Value

Type: IAsset
Asset with matching path, or null if Asset doesn't exist
Remarks
This method will not be able to retrieve external Asset
See Also