Navigation
API > API/Runtime > API/Runtime/Navmesh
| Name | dtObstacleAvoidanceQuery |
| Type | class |
| Header File | /Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourObstacleAvoidance.h |
| Include Path | #include "DetourCrowd/DetourObstacleAvoidance.h" |
Syntax
class dtObstacleAvoidanceQuery
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
dtObstacleAvoidanceQuery() |
DetourCrowd/DetourObstacleAvoidance.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~dtObstacleAvoidanceQuery() |
DetourCrowd/DetourObstacleAvoidance.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| m_circles | dtObstacleCircle * | DetourCrowd/DetourObstacleAvoidance.h | ||
| m_customPatterns | dtObstacleAvoidancePattern * | DetourCrowd/DetourObstacleAvoidance.h | ||
| m_invHorizTime | dtReal | DetourCrowd/DetourObstacleAvoidance.h | ||
| m_invVmax | dtReal | DetourCrowd/DetourObstacleAvoidance.h | ||
| m_maxCircles | int | DetourCrowd/DetourObstacleAvoidance.h | ||
| m_maxPatterns | int | DetourCrowd/DetourObstacleAvoidance.h | ||
| m_maxSegments | int | DetourCrowd/DetourObstacleAvoidance.h | ||
| m_ncircles | int | DetourCrowd/DetourObstacleAvoidance.h | ||
| m_nsegments | int | DetourCrowd/DetourObstacleAvoidance.h | ||
| m_params | dtObstacleAvoidanceParams | DetourCrowd/DetourObstacleAvoidance.h | ||
| m_segments | dtObstacleSegment * | DetourCrowd/DetourObstacleAvoidance.h | ||
| m_vmax | dtReal | DetourCrowd/DetourObstacleAvoidance.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void addCircle
(
const dtReal* pos, |
DetourCrowd/DetourObstacleAvoidance.h | ||
void addSegment
(
const dtReal* p, |
DetourCrowd/DetourObstacleAvoidance.h | ||
int getCustomPatternCount() |
[UE] sampling pattern count accessors | DetourCrowd/DetourObstacleAvoidance.h | |
bool getCustomSamplingPattern
(
int idx, |
[UE] get custom sampling pattern | DetourCrowd/DetourObstacleAvoidance.h | |
const dtObstacleCircle * getObstacleCircle
(
const int i |
DetourCrowd/DetourObstacleAvoidance.h | ||
int getObstacleCircleCount() |
DetourCrowd/DetourObstacleAvoidance.h | ||
const dtObstacleSegment * getObstacleSegment
(
const int i |
DetourCrowd/DetourObstacleAvoidance.h | ||
int getObstacleSegmentCount() |
DetourCrowd/DetourObstacleAvoidance.h | ||
bool init
(
const int maxCircles, |
DetourCrowd/DetourObstacleAvoidance.h | ||
void reset() |
DetourCrowd/DetourObstacleAvoidance.h | ||
int sampleVelocity
(
const dtReal* pos, |
[UE] main sampling function | DetourCrowd/DetourObstacleAvoidance.h | |
int sampleVelocityAdaptive
(
const dtReal* pos, |
DetourCrowd/DetourObstacleAvoidance.h | ||
int sampleVelocityCustom
(
const dtReal* pos, |
[UE] sample velocity using custom patterns | DetourCrowd/DetourObstacleAvoidance.h | |
bool setCustomSamplingPattern
(
int idx, |
[UE] store new sampling pattern | DetourCrowd/DetourObstacleAvoidance.h |