UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
dtObstacleAvoidanceDebugData Class Reference

#include <DetourObstacleAvoidance.h>

Public Member Functions

NAVMESH_API dtObstacleAvoidanceDebugData ()
 
NAVMESH_API ~dtObstacleAvoidanceDebugData ()
 
NAVMESH_API bool init (const int maxSamples)
 
NAVMESH_API void reset ()
 
NAVMESH_API void addSample (const dtReal *vel, const dtReal ssize, const dtReal pen, const dtReal vpen, const dtReal vcpen, const dtReal spen, const dtReal tpen)
 
NAVMESH_API void normalizeSamples ()
 
int getSampleCount () const
 
const dtRealgetSampleVelocity (const int i) const
 
dtReal getSampleSize (const int i) const
 
dtReal getSamplePenalty (const int i) const
 
dtReal getSampleDesiredVelocityPenalty (const int i) const
 
dtReal getSampleCurrentVelocityPenalty (const int i) const
 
dtReal getSamplePreferredSidePenalty (const int i) const
 
dtReal getSampleCollisionTimePenalty (const int i) const
 

Constructor & Destructor Documentation

◆ dtObstacleAvoidanceDebugData()

dtObstacleAvoidanceDebugData::dtObstacleAvoidanceDebugData ( )

◆ ~dtObstacleAvoidanceDebugData()

dtObstacleAvoidanceDebugData::~dtObstacleAvoidanceDebugData ( )

Member Function Documentation

◆ addSample()

void dtObstacleAvoidanceDebugData::addSample ( const dtReal vel,
const dtReal  ssize,
const dtReal  pen,
const dtReal  vpen,
const dtReal  vcpen,
const dtReal  spen,
const dtReal  tpen 
)

◆ getSampleCollisionTimePenalty()

dtReal dtObstacleAvoidanceDebugData::getSampleCollisionTimePenalty ( const int  i) const
inline

◆ getSampleCount()

int dtObstacleAvoidanceDebugData::getSampleCount ( ) const
inline

◆ getSampleCurrentVelocityPenalty()

dtReal dtObstacleAvoidanceDebugData::getSampleCurrentVelocityPenalty ( const int  i) const
inline

◆ getSampleDesiredVelocityPenalty()

dtReal dtObstacleAvoidanceDebugData::getSampleDesiredVelocityPenalty ( const int  i) const
inline

◆ getSamplePenalty()

dtReal dtObstacleAvoidanceDebugData::getSamplePenalty ( const int  i) const
inline

◆ getSamplePreferredSidePenalty()

dtReal dtObstacleAvoidanceDebugData::getSamplePreferredSidePenalty ( const int  i) const
inline

◆ getSampleSize()

dtReal dtObstacleAvoidanceDebugData::getSampleSize ( const int  i) const
inline

◆ getSampleVelocity()

const dtReal * dtObstacleAvoidanceDebugData::getSampleVelocity ( const int  i) const
inline

◆ init()

bool dtObstacleAvoidanceDebugData::init ( const int  maxSamples)

◆ normalizeSamples()

void dtObstacleAvoidanceDebugData::normalizeSamples ( )

◆ reset()

void dtObstacleAvoidanceDebugData::reset ( )

The documentation for this class was generated from the following files: