F
getById
Looks up a registered asset by its id.
function getById(id: number): UnboundAsset | undefinedParameters
| Name | Type | Description |
|---|---|---|
| id | number | The asset id to look up. |
Returns
UnboundAsset | undefinedThe matched UnboundAsset, or undefined if none is registered for that id.