Struct AgentShape
Represents agent shape in space. In the future this component might be split into specific shape components instead of having one big generic.
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: ProjectDawn.Navigation
Assembly: ProjectDawn.Navigation.dll
Syntax
public struct AgentShape : IComponentData, IQueryTypeParameter
Fields
| Improve this Doc View SourceHeight
The height of the agent for purposes of passing under obstacles, etc.
Declaration
public float Height
Field Value
| Type | Description |
|---|---|
| float |
Radius
The radius of the agent.
Declaration
public float Radius
Field Value
| Type | Description |
|---|---|
| float |
Type
The type of shape.
Declaration
public ShapeType Type
Field Value
| Type | Description |
|---|---|
| ShapeType |
Properties
| Improve this Doc View SourceDefault
Returns default configuration.
Declaration
public static AgentShape Default { get; }
Property Value
| Type | Description |
|---|---|
| AgentShape |
Orentation
Represents agent shape in space. In the future this component might be split into specific shape components instead of having one big generic.
Declaration
public quaternion Orentation { get; }
Property Value
| Type | Description |
|---|---|
| quaternion |
Up
Represents agent shape in space. In the future this component might be split into specific shape components instead of having one big generic.
Declaration
public float3 Up { get; }
Property Value
| Type | Description |
|---|---|
| float3 |
Methods
| Improve this Doc View SourceGetUp()
Returns up vector of shape.
Declaration
public float3 GetUp()
Returns
| Type | Description |
|---|---|
| float3 | Returns up vector of shape. |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter