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

AgentIndex (packedAgentIndex)
Public
AgentIndex (version, index)
Public
WithDeleted ()
Public
WithIncrementedVersion ()
Public

Public Variables

Index
Public
Valid
Public
Version
Public
packedAgentIndex
Public Readonly

Private/Protected Members

DeletedBit
Internal Static
IndexMask
Internal Static
VersionMask
Internal Static
VersionOffset
Internal Static