Quantum 3 3.0.13

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

Prototype of the PhysicsJoints3D Quantum component. More...

Inherits Quantum.ComponentPrototype< Quantum.PhysicsJoints3D >.

Public Member Functions

sealed override bool AddToEntity (FrameBase f, EntityRef entity, in PrototypeMaterializationContext context)
 Creates an instance of the PhysicsJoints3D component, materializes and adds it to the entity. More...
 
unsafe void Materialize (FrameBase frame, ref PhysicsJoints3D component)
 
void Materialize (FrameBase frame, ref Quantum.PhysicsJoints3D result, in PrototypeMaterializationContext context)
 Applies the prototype's fields to the actual component. More...
 
void OnEntityPrototypeMaterialized (FrameBase f, EntityRef entity, EntityPrototypeRef prototypeRef)
 Called after the entity prototype has been completely materialized. More...
 

Public Attributes

Joint3DConfig[] JointConfigs = { }
 The configurations of the joints. More...
 

Detailed Description

Prototype of the PhysicsJoints3D Quantum component.

Member Function Documentation

◆ AddToEntity()

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

Creates an instance of the PhysicsJoints3D 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.PhysicsJoints3DPrototype.Materialize ( FrameBase  frame,
ref Quantum.PhysicsJoints3D  result,
in PrototypeMaterializationContext  context 
)
inline

Applies the prototype's fields to the actual component.

Parameters
frame
result
context

◆ OnEntityPrototypeMaterialized()

void Quantum.Prototypes.PhysicsJoints3DPrototype.OnEntityPrototypeMaterialized ( FrameBase  f,
EntityRef  entity,
EntityPrototypeRef  prototypeRef 
)
inline

Called after the entity prototype has been completely materialized.

Parameters
f
entity
prototypeRef

Member Data Documentation

◆ JointConfigs

Joint3DConfig [] Quantum.Prototypes.PhysicsJoints3DPrototype.JointConfigs = { }

The configurations of the joints.