Quantum 3 3.0.14

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

Prototype of the NavMeshPathfinder Quantum component. More...

Inherits Quantum.ComponentPrototype< Quantum.NavMeshPathfinder >.

Public Member Functions

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

Public Attributes

AssetRef< NavMeshAgentConfigAgentConfig
 The configuration asset with the setup for this nav mesh agent. More...
 
NullableFPVector3 InitialTarget
 An initial position which is automatically set as a target when this prototype is materialized. More...
 
AssetRef< NavMeshInitialTargetNavMesh
 The NavMesh asset used to set an initial target position when this prototype is materialized. More...
 
string InitialTargetNavMeshName
 The name of the NavMesh used to set an initial target position when this prototype is materialized. More...
 

Detailed Description

Prototype of the NavMeshPathfinder Quantum component.

Member Function Documentation

◆ AddToEntity()

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

Creates an instance of the NavMeshPathfinder 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.NavMeshPathfinderPrototype.Materialize ( FrameBase  frame,
EntityRef  entity,
ref Quantum.NavMeshPathfinder  result 
)
inline

Applies the prototype's fields to the actual component.

Parameters
frame
entity
result

Member Data Documentation

◆ AgentConfig

AssetRef<NavMeshAgentConfig> Quantum.Prototypes.NavMeshPathfinderPrototype.AgentConfig

The configuration asset with the setup for this nav mesh agent.

◆ InitialTarget

NullableFPVector3 Quantum.Prototypes.NavMeshPathfinderPrototype.InitialTarget

An initial position which is automatically set as a target when this prototype is materialized.

◆ InitialTargetNavMesh

AssetRef<NavMesh> Quantum.Prototypes.NavMeshPathfinderPrototype.InitialTargetNavMesh

The NavMesh asset used to set an initial target position when this prototype is materialized.

◆ InitialTargetNavMeshName

string Quantum.Prototypes.NavMeshPathfinderPrototype.InitialTargetNavMeshName

The name of the NavMesh used to set an initial target position when this prototype is materialized.