IAssetFactoryGetAssetByID Method (String, String)
|
Retrieves a
Asset by its unique id
Namespace:
Ingeniux.Runtime.Assets
Assembly:
IGXRuntimeAPI (in IGXRuntimeAPI.dll) Version: 10.6.308
Syntax IAsset GetAssetByID(
string Id,
string publishingTargetId = ""
)
Function GetAssetByID (
Id As String,
Optional publishingTargetId As String = ""
) As IAsset
IAsset^ GetAssetByID(
String^ Id,
String^ publishingTargetId = L""
)
abstract GetAssetByID :
Id : string *
?publishingTargetId : string
(* Defaults:
let _publishingTargetId = defaultArg publishingTargetId ""
*)
-> IAsset
Parameters
- Id
- Type: SystemString
- publishingTargetId (Optional)
- Type: SystemString
Used in some override functions for setting asset path based on the specified publishing target
Return Value
Type:
IAssetSee Also