Kaim::TraversalParameters Class Reference

Kaim::TraversalParameters Class Reference

#include <traversalparams.h>

Class Description

An internal class that stores parameters used to control the propagation of traversals.

Public Attributes

PositionSpatializationRange m_positionSpatializationRange
 The altitude range used to find NavMesh triangles that correspond to the start and destination points. More...
 
KyFloat32 m_fromOutsideNavMeshDistance
 The maximum distance from the start along the X axis and along the Y axis that will be searched for NavMesh, if the start point is outside the NavMesh. More...
 
KyFloat32 m_toOutsideNavMeshDistance
 The maximum distance from the destination along the X axis and along the Y axis that will be searched for NavMesh, if the destination point is outside the NavMesh. More...
 
PathFinderAbstractGraphTraversalMode m_abstractGraphTraversalMode
 Indicates if the traversal should traverse AbstractGraphs. More...
 
CellBox m_activeDataCellBox
 Cellbox if start abstract graph if traversing abstract graphs, otherwise CellBox of propagation box. More...
 
KyArray< CellBoxm_additionalActiveDataCellBoxes
 Cellbox of destinations if traversing abstract graphs. More...
 

Member Data Documentation

PathFinderAbstractGraphTraversalMode Kaim::TraversalParameters::m_abstractGraphTraversalMode

Indicates if the traversal should traverse AbstractGraphs.

CellBox Kaim::TraversalParameters::m_activeDataCellBox

Cellbox if start abstract graph if traversing abstract graphs, otherwise CellBox of propagation box.

KyArray<CellBox> Kaim::TraversalParameters::m_additionalActiveDataCellBoxes

Cellbox of destinations if traversing abstract graphs.

KyFloat32 Kaim::TraversalParameters::m_fromOutsideNavMeshDistance

The maximum distance from the start along the X axis and along the Y axis that will be searched for NavMesh, if the start point is outside the NavMesh.

The search looks for triangles in an axis-aligned bounding box around the start point, with a half extent on the x and y axes equal to m_fromOutsideNavMeshDistance. To disable this feature, you can set this value to 0.f Default value is 1.5f meters.

PositionSpatializationRange Kaim::TraversalParameters::m_positionSpatializationRange

The altitude range used to find NavMesh triangles that correspond to the start and destination points.

KyFloat32 Kaim::TraversalParameters::m_toOutsideNavMeshDistance

The maximum distance from the destination along the X axis and along the Y axis that will be searched for NavMesh, if the destination point is outside the NavMesh.

The search looks for triangles in an axis-aligned bounding box around the destination point, with a half extent on the x and y axes equal to m_fromOutsideNavMeshDistance. To disable this feature, you can set this value to 0.f Default value is 1.5f meters.


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