Prototype of the NavMeshAvoidanceObstacle Quantum component.
More...
Inherits Quantum.ComponentPrototype< Quantum.NavMeshAvoidanceObstacle >.
Prototype of the NavMeshAvoidanceObstacle Quantum component.
◆ AddToEntity()
| sealed override bool Quantum.Prototypes.NavMeshAvoidanceObstaclePrototype.AddToEntity |
( |
FrameBase |
f, |
|
|
EntityRef |
entity, |
|
|
in PrototypeMaterializationContext |
context |
|
) |
| |
|
inline |
Creates an instance of the NavMeshAvoidanceObstacle component, materializes and adds it to the entity.
- Parameters
-
- Returns
- Returns
true if adding the component to the entity succeeds.
◆ Materialize()
Applies the prototype's fields to the actual component.
◆ AvoidanceLayer
| byte Quantum.Prototypes.NavMeshAvoidanceObstaclePrototype.AvoidanceLayer |
◆ Radius
| FP Quantum.Prototypes.NavMeshAvoidanceObstaclePrototype.Radius = FP._0_25 |
◆ IsActive
| bool Quantum.Prototypes.NavMeshAvoidanceObstaclePrototype.IsActive = true |
If set to true, the obstacle is considered by avoidance agents.