A base class for all Quantum asset objects. More...
Public Member Functions | |
virtual void | Disposed (IResourceManager resourceManager, Native.Allocator allocator) |
Called when the asset object is disposed. More... | |
virtual void | Loaded (IResourceManager resourceManager, Native.Allocator allocator) |
Called when the asset object is loaded. More... | |
virtual void | Reset () |
Resets the asset object. More... | |
Static Public Member Functions | |
static AssetObject | Create (Type t) |
Creates a new instance of the specified type. More... | |
static T | Create< T > () |
Creates a new instance of the specified type. More... | |
static T | Create< T > (Action< T > init) |
Creates a new instance of the specified type and initializes it. More... | |
Public Attributes | |
AssetObjectIdentifier | Identifier |
The identifier of the asset object. More... | |
AssetObject | Settings => this |
Gets the asset object settings. More... | |
Properties | |
AssetGuid | Guid [get, set] |
The GUID of the asset object. More... | |
string | Path [get, set] |
The path of the asset object. Optional. More... | |
A base class for all Quantum asset objects.
|
inlinevirtual |
Called when the asset object is loaded.
resourceManager | The resource manager. |
allocator | The allocator. |
Reimplemented in Quantum.SimulationConfig.
|
inlinevirtual |
Called when the asset object is disposed.
resourceManager | The resource manager. |
allocator | The allocator. |
|
inlinestatic |
Creates a new instance of the specified type.
T | The type of the asset object. |
T | : | AssetObject |
|
inlinestatic |
Creates a new instance of the specified type.
t | The type of the asset object. |
|
inlinestatic |
Creates a new instance of the specified type and initializes it.
T | The type of the asset object. |
init | The initialization action. |
T | : | AssetObject |
|
inlinevirtual |
Resets the asset object.
AssetObjectIdentifier Quantum.AssetObject.Identifier |
The identifier of the asset object.
AssetObject Quantum.AssetObject.Settings => this |
Gets the asset object settings.
|
getset |
The GUID of the asset object.
|
getset |
The path of the asset object. Optional.