Struct CrowdDiscomfort
Discomfort volume of crowd agents.
Implements
IComponentData
IQueryTypeParameter
IEnableableComponent
Inherited Members
Namespace: ProjectDawn.Navigation
Assembly: ProjectDawn.Navigation.dll
Syntax
public struct CrowdDiscomfort : IComponentData, IQueryTypeParameter, IEnableableComponent
Fields
| Improve this Doc View SourceGradient
The gradient of discomfort. The x-component represents the discomfort value at the center of the shape, and the y-component represents it at the edge
Declaration
public float2 Gradient
Field Value
Type | Description |
---|---|
float2 |
Size
The size of the discomfort.
Declaration
public float3 Size
Field Value
Type | Description |
---|---|
float3 |
Type
The shape of the discomfort.
Declaration
public CrowdDiscomfortType Type
Field Value
Type | Description |
---|---|
CrowdDiscomfortType |
Properties
| Improve this Doc View SourceDefault
Returns default configuration.
Declaration
public static CrowdDiscomfort Default { get; }
Property Value
Type | Description |
---|---|
CrowdDiscomfort |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter
Unity.Entities.IEnableableComponent