A* Pathfinding Project  4.3.7
The A* Pathfinding Project for Unity 3D
RVODestinationCrowdedBehavior.JobDensityCheck Struct Reference

Classes

struct  QueryData
 

Public Member Functions

 JobDensityCheck (int size, float deltaTime)
 
float AgentDensityInCircle (float2 position, float radius)
 
void Dispose ()
 
void Pathfinding.Jobs.IJobParallelForBatched. Execute (int start, int count)
 
void Execute (int i)
 
void Set (int index, int rvoAgentIndex, float2 destination, float densityThreshold, float progressAverage)
 

Public Attributes

NativeArray< float > agentDesiredSpeed
 
NativeArray< float > agentOutputSpeed
 
NativeArray< float2 > agentOutputTargetPoint
 
NativeArray< float2 > agentPosition
 
NativeArray< float > agentRadius
 
NativeArray< float2 > agentTargetPoint
 
bool allowBoundsChecks => false
 
NativeArray< QueryDatadata
 
float deltaTime
 
NativeArray< bool > outThresholdResult
 
NativeArray< float > progressAverage
 
RVOQuadtreeBurst quadtree
 

Additional Inherited Members

- Properties inherited from IJobParallelForBatched
bool allowBoundsChecks [get]
 

Constructor & Destructor Documentation

◆ JobDensityCheck()

JobDensityCheck ( int  size,
float  deltaTime 
)

Member Function Documentation

◆ AgentDensityInCircle()

float AgentDensityInCircle ( float2  position,
float  radius 
)

◆ Dispose()

void Dispose ( )

◆ Execute() [1/2]

void Pathfinding.Jobs.IJobParallelForBatched. Execute ( int  start,
int  count 
)

◆ Execute() [2/2]

void Execute ( int  i)

◆ Set()

void Set ( int  index,
int  rvoAgentIndex,
float2  destination,
float  densityThreshold,
float  progressAverage 
)

Member Data Documentation

◆ agentDesiredSpeed

NativeArray<float> agentDesiredSpeed

◆ agentOutputSpeed

NativeArray<float> agentOutputSpeed

◆ agentOutputTargetPoint

NativeArray<float2> agentOutputTargetPoint

◆ agentPosition

NativeArray<float2> agentPosition

◆ agentRadius

NativeArray<float> agentRadius

◆ agentTargetPoint

NativeArray<float2> agentTargetPoint

◆ allowBoundsChecks

bool allowBoundsChecks => false

◆ data

NativeArray<QueryData> data

◆ deltaTime

float deltaTime

◆ outThresholdResult

NativeArray<bool> outThresholdResult

◆ progressAverage

NativeArray<float> progressAverage

◆ quadtree

RVOQuadtreeBurst quadtree

The documentation for this struct was generated from the following file: