Synced
AssetObject
Section titled “AssetObject”
- Provides the common runtime identity and payload contract for imported assets.
Required contracts
Section titled “Required contracts”API: scripting
Implements: InnoEngine.Serialization.ISerializable
Inherits: InnoEngine.Core.IdentityObject
Project: Inno.Assets
Scope: Runtime
Declaration
Section titled “Declaration”public abstract class InnoEngine.Assets.AssetObject : InnoEngine.Core.IdentityObject, InnoEngine.Serialization.ISerializableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | AssetObject.Constructor | No XML description is available. |
| Methods | AssetObject.OnRuntimePayloadChanged | Called after a new runtime payload has been committed to this instance. |
| Methods | AssetObject.OnUnloading | Releases the runtime resources owned by this asset without clearing its payload before quiescence. |
| Methods | AssetObject.RestoreProperties | Restores detached extension settings using this asset’s actual owner and converter generation. |
| Properties | AssetObject.assetPath | Gets the isolated source path associated with this asset. |
| Properties | AssetObject.contentVersion | Gets the version of the currently committed runtime content. |
| Properties | AssetObject.isMissing | Gets whether this instance represents an unavailable persistent asset. |
| Properties | AssetObject.name | Gets a display name derived from the source-local path. |
| Properties | AssetObject.runtimePayload | Gets the runtime artifact payload produced by the importer. |