implements IAgent
0x00x0100
Members 46
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | radius | float | 1 flags | — | |
| 0x04 | height | float | 1 flags | — | |
| 0x04 | desiredSpeed | float | 1 flags | — | |
| 0x04 | maxSpeed | float | 1 flags | — | |
| 0x04 | agentTimeHorizon | float | 1 flags | — | |
| 0x04 | obstacleTimeHorizon | float | 1 flags | — | |
| 0x01 | locked | bool | 1 flags | — | |
| 0x0029 | 0x03 | padding / unreflected | |||
| 0x04 | layer | RVOLayer | Private | — | |
| 0x04 | collidesWith | RVOLayer | Private | — | |
| 0x04 | maxNeighbours | int | Private | — | |
| 0x08 | position | Vector2 | 1 flags | — | |
| 0x04 | elevationCoordinate | float | Private | — | |
| 0x08 | currentVelocity | Vector2 | Private | — | |
| 0x08 | desiredTargetPointInVelocitySpace | Vector2 | Private | — | |
| 0x08 | desiredVelocity | Vector2 | Private | — | |
| 0x08 | nextTargetPoint | Vector2 | Private | — | |
| 0x04 | nextDesiredSpeed | float | Private | — | |
| 0x04 | nextMaxSpeed | float | Private | — | |
| 0x08 | collisionNormal | Vector2 | Private | — | |
| 0x01 | manuallyControlled | bool | Private | — | |
| 0x01 | debugDraw | bool | Private | — | |
| 0x0076 | 0x02 | padding / unreflected | |||
| 0x08 | <Position>k__BackingField | Vector2 | Private | — | |
| 0x04 | <ElevationCoordinate>k__BackingField | float | Private | — | |
| 0x08 | <CalculatedTargetPoint>k__BackingField | Vector2 | Private | — | |
| 0x04 | <CalculatedSpeed>k__BackingField | float | Private | — | |
| 0x01 | <Locked>k__BackingField | bool | Private | — | |
| 0x0091 | 0x03 | padding / unreflected | |||
| 0x04 | <Radius>k__BackingField | float | Private | — | |
| 0x04 | <Height>k__BackingField | float | Private | — | |
| 0x04 | <AgentTimeHorizon>k__BackingField | float | Private | — | |
| 0x04 | <ObstacleTimeHorizon>k__BackingField | float | Private | — | |
| 0x04 | <MaxNeighbours>k__BackingField | int | Private | — | |
| 0x04 | <NeighbourCount>k__BackingField | int | Private | — | |
| 0x04 | <Layer>k__BackingField | RVOLayer | Private | — | |
| 0x04 | <CollidesWith>k__BackingField | RVOLayer | Private | — | |
| 0x04 | <Priority>k__BackingField | float | Private | — | |
| 0x08 | <PreCalculationCallback>k__BackingField | Action | Private | — | |
| 0x08 | next | Agent | 1 flags | — | |
| 0x04 | calculatedSpeed | float | Private | — | |
| 0x08 | calculatedTargetPoint | Vector2 | Private | — | |
| 0x00D4 | 0x04 | padding / unreflected | |||
| 0x08 | simulator | Simulator | 1 flags | — | |
| 0x08 | neighbours | List<Pathfinding.RVO.Sampled.Agent> | Private | — | |
| 0x08 | neighbourDists | List<System.Single> | Private | — | |
| 0x08 | obstaclesBuffered | List<Pathfinding.RVO.ObstacleVertex> | Private | — | |
| 0x08 | obstacles | List<Pathfinding.RVO.ObstacleVertex> | Private | — | |
| — | 0x04 | DesiredVelocityWeight | float | PrivateStatic+1 flags | 1036831949 |
| — | 0x04 | WallWeight | float | PrivateStatic+1 flags | 1084227584 |
Functions 55
| Signature | Flags | Native | Params |
|---|---|---|---|
| Vector2 get_Position() | PublicFinal+3 flags | 0x08 | |
| void set_Position(const Vector2& value) | PublicFinal+3 flags | 0x08 | |
| float get_ElevationCoordinate() | PublicFinal+3 flags | 0x04 | |
| void set_ElevationCoordinate(float value) | PublicFinal+3 flags | 0x04 | |
| Vector2 get_CalculatedTargetPoint() | PublicFinal+3 flags | 0x08 | |
| void set_CalculatedTargetPoint(const Vector2& value) | Private+1 flags | 0x08 | |
| float get_CalculatedSpeed() | PublicFinal+3 flags | 0x04 | |
| void set_CalculatedSpeed(float value) | Private+1 flags | 0x04 | |
| bool get_Locked() | PublicFinal+3 flags | 0x01 | |
| void set_Locked(bool value) | PublicFinal+3 flags | 0x01 | |
| float get_Radius() | PublicFinal+3 flags | 0x04 | |
| void set_Radius(float value) | PublicFinal+3 flags | 0x04 | |
| float get_Height() | PublicFinal+3 flags | 0x04 | |
| void set_Height(float value) | PublicFinal+3 flags | 0x04 | |
| float get_AgentTimeHorizon() | PublicFinal+3 flags | 0x04 | |
| void set_AgentTimeHorizon(float value) | PublicFinal+3 flags | 0x04 | |
| float get_ObstacleTimeHorizon() | PublicFinal+3 flags | 0x04 | |
| void set_ObstacleTimeHorizon(float value) | PublicFinal+3 flags | 0x04 | |
| int get_MaxNeighbours() | PublicFinal+3 flags | 0x04 | |
| void set_MaxNeighbours(int value) | PublicFinal+3 flags | 0x04 | |
| int get_NeighbourCount() | PublicFinal+3 flags | 0x04 | |
| void set_NeighbourCount(int value) | Private+1 flags | 0x04 | |
| RVOLayer get_Layer() | PublicFinal+3 flags | 0x04 | |
| void set_Layer(const RVOLayer& value) | PublicFinal+3 flags | 0x04 | |
| RVOLayer get_CollidesWith() | PublicFinal+3 flags | 0x04 | |
| void set_CollidesWith(const RVOLayer& value) | PublicFinal+3 flags | 0x04 | |
| bool get_DebugDraw() | PublicFinal+3 flags | 0x01 | |
| void set_DebugDraw(bool value) | PublicFinal+3 flags | 0x01 | |
| float get_Priority() | PublicFinal+3 flags | 0x04 | |
| void set_Priority(float value) | PublicFinal+3 flags | 0x04 | |
| Action get_PreCalculationCallback() | Private+1 flags | 0x08 | |
| void set_PreCalculationCallback(Action value) | PublicFinal+3 flags | 0x08 | |
| void SetTarget(const Vector2& targetPoint, float desiredSpeed, float maxSpeed) | PublicFinal+2 flags | 0x08 | |
| void SetCollisionNormal(const Vector2& normal) | PublicFinal+2 flags | 0x08 | |
| void ForceSetVelocity(const Vector2& velocity) | PublicFinal+2 flags | 0x08 | |
| List<Pathfinding.RVO.ObstacleVertex> get_NeighbourObstacles() | PublicFinal+3 flags | 0x08 | |
| void .ctor(const Vector2& pos, float elevationCoordinate) | Public+1 flags | 0x08 | |
| void BufferSwitch() | Public | 0x00 | |
| void PreCalculation() | Public | 0x00 | |
| void PostCalculation() | Public | 0x00 | |
| void CalculateNeighbours() | Public | 0x00 | |
| float Sqr(float x) | PrivateStatic | 0x04 | |
| float InsertAgentNeighbour(Agent agent, float rangeSq) | 1 flags | 0x08 | |
| Vector3 FromXZ(const Vector2& p) | PrivateStatic | 0x0C | |
| Vector2 ToXZ(const Vector3& p) | PrivateStatic | 0x0C | |
| Vector2 To2D(const Vector3& p, ref float& elevation) | Private | 0x0C | |
| void DrawVO(const Vector2& circleCenter, float radius, const Vector2& origin) | PrivateStatic | 0x08 | |
| void CalculateVelocity(WorkerContext context) | 1 flags | 0x08 | |
| Color Rainbow(float v) | PrivateStatic | 0x10 | |
| void GenerateObstacleVOs(VOBuffer vos) | Private | 0x08 | |
| void GenerateNeighbourAgentVOs(VOBuffer vos) | Private | 0x08 | |
| Vector2 GradientDescent(VOBuffer vos, const Vector2& sampleAround1, const Vector2& sampleAround2) | Private | 0x08 | |
| bool BiasDesiredVelocity(VOBuffer vos, ref Vector2& desiredVelocity, ref Vector2& targetPointInVelocitySpace, float maxBiasRadians) | PrivateStatic | 0x08 | |
| Vector2 EvaluateGradient(VOBuffer vos, const Vector2& p, ref float& value) | Private | 0x08 | |
| Vector2 Trace(VOBuffer vos, const Vector2& p, ref float& score) | Private | 0x08 |