Struct AgentIndex Extends ICleanupComponentData
Public
Index of an RVO agent in the local avoidance simulation.
If this component is present, that indicates that the agent is part of a local avoidance simulation. The RVOSystem is responsible for adding and removing this component as necessary. Any other systems should only concern themselves with the RVOAgent component.
Warning
This component does not support cloning. You must not clone entities that use this component. There doesn't seem to be any way to make this work with the Unity.Entities API at the moment.
Public Methods
TryGetIndex
(..., index)
Returns the index of the agent in the simulation's data arrays, if the agent exists.
Public Variables
Version
Public
packedAgentIndex
Public
Readonly
Public Static Variables
DeletedBit
Public
Static
IndexMask
Public
Static
VersionMask
Public
Static
VersionOffset
Public
Static
Private/Protected Members
Index
Index of the agent in the simulation's data arrays.
Internal
Valid
Internal