The Transform2DVertical is an entity component pseudo-3D height and offset for an entity. More...
Static Public Member Functions | |
static void | Serialize (void *ptr, FrameSerializer serializer) |
Serializes a Transform2DVertical into a FrameSerializer. More... | |
Public Attributes | |
FP | Height |
The height. More... | |
FP | Position |
The position or vertical offset of the transform. More... | |
Static Public Attributes | |
const int | SIZE = FP.SIZE + FP.SIZE |
The component size in bytes. More... | |
The Transform2DVertical is an entity component pseudo-3D height and offset for an entity.
|
inlinestatic |
Serializes a Transform2DVertical into a FrameSerializer.
ptr | The pointer to the Transform2DVertical. |
serializer | The FrameSerializer instance into which the struct will be serialized. |
|
static |
The component size in bytes.
FP Quantum.Transform2DVertical.Position |
The position or vertical offset of the transform.
FP Quantum.Transform2DVertical.Height |
The height.