![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DetourCrowd.h>
Public Attributes | |
| dtPathCorridor | corridor |
| The path corridor the agent is using. | |
| dtLocalBoundary | boundary |
| The local boundary data for the agent. | |
| dtReal | topologyOptTime |
| Time since the agent's path corridor was optimized. | |
| dtCrowdNeighbour | neis [DT_CROWDAGENT_MAX_NEIGHBOURS] |
| The known neighbors of the agent. | |
| dtReal | desiredSpeed |
| The desired speed. | |
| dtReal | npos [3] |
| The current agent position. [(x, y, z)]. | |
| dtReal | disp [3] |
| dtReal | dvel [3] |
| The desired velocity of the agent. [(x, y, z)]. | |
| dtReal | nvel [3] |
| dtReal | vel [3] |
| The actual velocity of the agent. [(x, y, z)]. | |
| dtCrowdAgentParams | params |
| The agent's configuration parameters. | |
| dtReal | cornerVerts [DT_CROWDAGENT_MAX_CORNERS *3] |
| The local path corridor corners for the agent. (Staight path.) [(x, y, z) * ncorners]. | |
| dtPolyRef | cornerPolys [DT_CROWDAGENT_MAX_CORNERS] |
| The reference id of the polygon being entered at the corner. [(polyRef) * ncorners]. | |
| dtReal | targetReplanTime |
| dtReal | targetPos [3] |
| <Time since the agent's target was replanned. | |
| dtPolyRef | targetRef |
| Target polyref of the movement request. | |
| dtPathQueueRef | targetPathqRef |
| Path finder ref. | |
| int | nneis |
| The number of neighbors. | |
| unsigned char | cornerFlags [DT_CROWDAGENT_MAX_CORNERS] |
| The local path corridor corner flags. (See: dtStraightPathFlags) [(flags) * ncorners]. | |
| int | ncorners |
| The number of corners. | |
| unsigned char | targetReplan |
| Flag indicating that the current path is being replanned. | |
| unsigned char | targetState |
| State of the movement request. | |
| unsigned char | active |
| 1 if the agent is active, or 0 if the agent is in an unused slot in the agent pool. | |
| unsigned char | state |
| The type of mesh polygon the agent is traversing. (See: CrowdAgentState) | |
Represents an agent managed by a dtCrowd object.
1 if the agent is active, or 0 if the agent is in an unused slot in the agent pool.
| dtLocalBoundary dtCrowdAgent::boundary |
The local boundary data for the agent.
The local path corridor corner flags. (See: dtStraightPathFlags) [(flags) * ncorners].
| dtPolyRef dtCrowdAgent::cornerPolys[DT_CROWDAGENT_MAX_CORNERS] |
The reference id of the polygon being entered at the corner. [(polyRef) * ncorners].
| dtReal dtCrowdAgent::cornerVerts[DT_CROWDAGENT_MAX_CORNERS *3] |
The local path corridor corners for the agent. (Staight path.) [(x, y, z) * ncorners].
| dtPathCorridor dtCrowdAgent::corridor |
The path corridor the agent is using.
| dtReal dtCrowdAgent::desiredSpeed |
The desired speed.
| dtReal dtCrowdAgent::disp[3] |
| dtReal dtCrowdAgent::dvel[3] |
The desired velocity of the agent. [(x, y, z)].
| int dtCrowdAgent::ncorners |
The number of corners.
| dtCrowdNeighbour dtCrowdAgent::neis[DT_CROWDAGENT_MAX_NEIGHBOURS] |
The known neighbors of the agent.
| int dtCrowdAgent::nneis |
The number of neighbors.
| dtReal dtCrowdAgent::npos[3] |
The current agent position. [(x, y, z)].
| dtReal dtCrowdAgent::nvel[3] |
| dtCrowdAgentParams dtCrowdAgent::params |
The agent's configuration parameters.
The type of mesh polygon the agent is traversing. (See: CrowdAgentState)
| dtPathQueueRef dtCrowdAgent::targetPathqRef |
Path finder ref.
| dtReal dtCrowdAgent::targetPos[3] |
<Time since the agent's target was replanned.
Target position of the movement request (or velocity in case of DT_CROWDAGENT_TARGET_VELOCITY).
| dtPolyRef dtCrowdAgent::targetRef |
Target polyref of the movement request.
| dtReal dtCrowdAgent::targetReplanTime |
| dtReal dtCrowdAgent::topologyOptTime |
Time since the agent's path corridor was optimized.
| dtReal dtCrowdAgent::vel[3] |
The actual velocity of the agent. [(x, y, z)].