Quantum 3 3.0.14

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

Prototype of the NavMeshSteeringAgent Quantum component. More...

Inherits Quantum.ComponentPrototype< Quantum.NavMeshSteeringAgent >.

Public Member Functions

sealed override bool AddToEntity (FrameBase f, EntityRef entity, in PrototypeMaterializationContext context)
 Creates an instance of the NavMeshSteeringAgent component and adds it to the entity. More...
 

Public Attributes

FP Acceleration
 Used to override the steering agent's Acceleration, instead of using the value from the nav mesh agent config asset. More...
 
FP MaxSpeed
 Used to override the steering agent's MaxSpeed, instead of using the value from the nav mesh agent config asset. More...
 
bool OverrideAcceleration
 Set to true to override the steering agent's Acceleration with a value from the prototype, instead of using the value from the nav mesh agent config asset. More...
 
bool OverrideMaxSpeed
 Set to true to override the steering agent's MaxSpeed with a value from the prototype, instead of using the value from the nav mesh agent config asset. More...
 

Detailed Description

Prototype of the NavMeshSteeringAgent Quantum component.

Member Function Documentation

◆ AddToEntity()

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

Creates an instance of the NavMeshSteeringAgent component and adds it to the entity.

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

Member Data Documentation

◆ OverrideMaxSpeed

bool Quantum.Prototypes.NavMeshSteeringAgentPrototype.OverrideMaxSpeed

Set to true to override the steering agent's MaxSpeed with a value from the prototype, instead of using the value from the nav mesh agent config asset.

◆ OverrideAcceleration

bool Quantum.Prototypes.NavMeshSteeringAgentPrototype.OverrideAcceleration

Set to true to override the steering agent's Acceleration with a value from the prototype, instead of using the value from the nav mesh agent config asset.

◆ MaxSpeed

FP Quantum.Prototypes.NavMeshSteeringAgentPrototype.MaxSpeed

Used to override the steering agent's MaxSpeed, instead of using the value from the nav mesh agent config asset.

◆ Acceleration

FP Quantum.Prototypes.NavMeshSteeringAgentPrototype.Acceleration

Used to override the steering agent's Acceleration, instead of using the value from the nav mesh agent config asset.