Quantum component used to reference an EntityView asset which represents the view object that is created and updated in runtime, usually used for displaying entity graphics. More...
Static Public Member Functions | |
static View | Create (EntityView viewAsset) |
Creates and initializes an instance of this component type. More... | |
static View | Create (FrameBase f, string path, DatabaseType dbType=DatabaseType.Default) |
Creates a new View instance and uses a path to find the EntityView asset that should be referenced by the component. More... | |
static void | Serialize (void *ptr, FrameSerializer stream) |
Serializes a View into a FrameSerializer. More... | |
Public Attributes | |
AssetRef< EntityView > | Current |
The EntityView asset that is currently referenced. More... | |
Static Public Attributes | |
const int | SIZE = AssetRef<EntityView>.SIZE |
The size of the component (or struct/type) in-memory inside the Frame data-buffers or stack (when passed as value parameter). Not related to the snapshot payload this occupies, which is bit-packed and compressed. More... | |
Quantum component used to reference an EntityView asset which represents the view object that is created and updated in runtime, usually used for displaying entity graphics.
|
inlinestatic |
Creates and initializes an instance of this component type.
viewAsset | The initial view asset |
|
inlinestatic |
Creates a new View instance and uses a path to find the EntityView asset that should be referenced by the component.
f | |
path | |
dbType |
|
inlinestatic |
|
static |
The size of the component (or struct/type) in-memory inside the Frame data-buffers or stack (when passed as value parameter). Not related to the snapshot payload this occupies, which is bit-packed and compressed.
AssetRef<EntityView> Quantum.View.Current |
The EntityView asset that is currently referenced.