Prototype of the Transform3D Quantum component.
More...
Inherits Quantum.ComponentPrototype< Quantum.Transform3D >.
Prototype of the Transform3D Quantum component.
◆ AddToEntity()
| sealed override bool Quantum.Prototypes.Transform3DPrototype.AddToEntity |
( |
FrameBase |
f, |
|
|
EntityRef |
entity, |
|
|
in PrototypeMaterializationContext |
context |
|
) |
| |
|
inline |
Creates an instance of the Transform3D component, materializes and adds it to the entity.
- Parameters
-
- Returns
- Returns
true if adding the component to the entity succeeds.
◆ Materialize()
| void Quantum.Prototypes.Transform3DPrototype.Materialize |
( |
FrameBase |
frame, |
|
|
ref Quantum.Transform3D |
result, |
|
|
in PrototypeMaterializationContext |
context |
|
) |
| |
|
inline |
Applies the prototype's fields to the actual component.
◆ Position
| FPVector3 Quantum.Prototypes.Transform3DPrototype.Position |
◆ Rotation
| FPVector3 Quantum.Prototypes.Transform3DPrototype.Rotation |
The entity's rotation, in degrees.