Quantum 3 3.0.13

Public Member Functions | Public Attributes | List of all members
Quantum.Prototypes.Transform2DVerticalPrototype Class Reference

Prototype of the Transform2DVertical Quantum component. More...

Inherits Quantum.ComponentPrototype< Quantum.Transform2DVertical >.

Public Member Functions

sealed override bool AddToEntity (FrameBase f, EntityRef entity, in PrototypeMaterializationContext context)
 Creates an instance of the Transform2DVertical component, materializes and adds it to the entity. More...
 
void Materialize (FrameBase frame, ref Quantum.Transform2DVertical result, in PrototypeMaterializationContext context)
 Applies the prototype's fields to the actual component. More...
 
unsafe void Materialize (FrameBase frame, ref Transform2DVertical component)
 

Public Attributes

FP Height
 The vertical height. More...
 
FP Position
 The vertical offset position. More...
 

Detailed Description

Prototype of the Transform2DVertical Quantum component.

Member Function Documentation

◆ AddToEntity()

sealed override bool Quantum.Prototypes.Transform2DVerticalPrototype.AddToEntity ( FrameBase  f,
EntityRef  entity,
in PrototypeMaterializationContext  context 
)
inline

Creates an instance of the Transform2DVertical component, materializes and adds it to the entity.

Parameters
f
entity
context
Returns
Returns true if adding the component to the entity succeeds.

◆ Materialize()

void Quantum.Prototypes.Transform2DVerticalPrototype.Materialize ( FrameBase  frame,
ref Quantum.Transform2DVertical  result,
in PrototypeMaterializationContext  context 
)
inline

Applies the prototype's fields to the actual component.

Member Data Documentation

◆ Position

FP Quantum.Prototypes.Transform2DVerticalPrototype.Position

The vertical offset position.

◆ Height

FP Quantum.Prototypes.Transform2DVerticalPrototype.Height

The vertical height.