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
)
Function GetAssetByPath (
path As String,
<OutAttribute> ByRef fromAlias As Boolean
) As IAsset
IAsset^ GetAssetByPath(
String^ path,
[OutAttribute] bool% fromAlias
)
abstract GetAssetByPath :
path : string *
fromAlias : bool byref -> IAsset
Parameters
- path
- Type: SystemString
Asset path - fromAlias
- Type: SystemBoolean
returns true if the requested path is an alias asset
Return Value
Type:
IAssetAsset with matching path, or null if Asset doesn't exist
Remarks This method will not be able to retrieve external Asset
See Also