Struct CrowdGroup
Crowd group settings.
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: ProjectDawn.Navigation
Assembly: ProjectDawn.Navigation.dll
Syntax
public struct CrowdGroup : IComponentData, IQueryTypeParameter
Fields
| Improve this Doc View SourceCostWeights
Controls the cost weights of constructing crowd flow fields.
Declaration
public CostWeights CostWeights
Field Value
| Type | Description |
|---|---|
| CostWeights |
GoalSource
Source from which crowd will get goal.
Declaration
public CrowdGoalSource GoalSource
Field Value
| Type | Description |
|---|---|
| CrowdGoalSource |
Grounded
Constraint agent to be on the surface. It is useful to disable then used with physics, to allow more freedom motion and precision.
Declaration
public bool Grounded
Field Value
| Type | Description |
|---|---|
| bool |
MappingRadius
Maximum distance that will be used when attempting to map the agent's position or destination onto surface. The higher the value, the bigger the performance cost.
Declaration
public float MappingRadius
Field Value
| Type | Description |
|---|---|
| float |
Speed
Crowd group speed settings.
Declaration
public Speed Speed
Field Value
| Type | Description |
|---|---|
| Speed |
Surface
Entity that contains CrowdSurface and CrowdSurfaceWorld.
Declaration
public Entity Surface
Field Value
| Type | Description |
|---|---|
| Entity |
Properties
| Improve this Doc View SourceDefault
Returns default configuration.
Declaration
public static CrowdGroup Default { get; }
Property Value
| Type | Description |
|---|---|
| CrowdGroup |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter