Quantum 3 3.0.14

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

Prototype of the CharacterController3D Quantum component. More...

Inherits Quantum.ComponentPrototype< Quantum.CharacterController3D >.

Public Member Functions

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

Public Attributes

AssetRef< CharacterController3DConfigConfig
 The CharacterController3D configuration asset. More...
 

Detailed Description

Prototype of the CharacterController3D Quantum component.

Member Function Documentation

◆ AddToEntity()

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

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

Applies the prototype's fields to the actual component.

Member Data Documentation

◆ Config

AssetRef<CharacterController3DConfig> Quantum.Prototypes.CharacterController3DPrototype.Config

The CharacterController3D configuration asset.