9 #ifndef Navigation_TraversalParams_H
10 #define Navigation_TraversalParams_H
22 class TraversalParameters
27 KyUInt32 GetNumberOfProcessedNodePerFrame()
const;
28 KyFloat32 GetFromOutsideNavMeshDistance()
const;
29 KyFloat32 GetToOutsideNavMeshDistance()
const;
32 const PositionSpatializationRange& GetPositionSpatializationRange()
const;
49 SetPositionSpatializationRange(database->GetPositionSpatializationRange());
52 void SetNumberOfProcessedNodePerFrame(
KyUInt32 numberOfProcessedNodePerFrame);
53 void SetPositionSpatializationRange(
const PositionSpatializationRange& positionSpatializationRange);
54 void SetFromOutsideNavMeshDistance(
KyFloat32 fromOutsideNavMeshDistance);
55 void SetToOutsideNavMeshDistance(
KyFloat32 toOutsideNavMeshDistance);
89 CellBox m_startActiveDataCellBoxForAbstractGraph;
90 CellBox m_destActiveDataCellBoxForAbstractGraph;
102 KY_INLINE
const PositionSpatializationRange& TraversalParameters::GetPositionSpatializationRange()
const {
return m_positionSpatializationRange; }
103 KY_INLINE
void TraversalParameters::SetPositionSpatializationRange(
const PositionSpatializationRange& positionSpatializationRange)
120 #endif //Navigation_TraversalParams_H
This class represents a two-dimensional axis-aligned bounding box whose dimensions are stored using 3...
Definition: box2i.h:119
KyUInt32 m_numberOfIntersectionTestPerFrame
The number of intersections that will be processed each frame during the clamper part of the query...
Definition: traversalparams.h:97
#define KY_NULL
Null value.
Definition: types.h:247
KyFloat32 m_fromOutsideNavMeshDistance
The maximum distance from the start along the X axis and along the Y axis that will be searched for N...
Definition: traversalparams.h:78
An internal class that stores parameters used to control the propagation of traversals through the Na...
Definition: traversalparams.h:23
This class is a runtime container for all NavData that represents the world from the point of view of...
Definition: database.h:64
PathFinderAbstractGraphTraversalMode
Enumerates the possible way of dealing with AbstractGraphs.
Definition: pathfinderabstractgraphtraversalmode.h:16
KyUInt32 m_numberOfVisitedNodePerFrame
The number of nodes that will be processed each frame during the traversal part of the AStar...
Definition: traversalparams.h:91
Definition: gamekitcrowddispersion.h:20
PathFinderAbstractGraphTraversalMode m_abstractGraphTraversalMode
Indicates if the traversal should traverse AbstractGraphs.
Definition: traversalparams.h:100
KyUInt32 m_numberOfCanGoTestInRefinerPerFrame
The number of CanGo tests that will be processed each frame during the refiner part of the query...
Definition: traversalparams.h:94
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
PositionSpatializationRange m_positionSpatializationRange
The altitude range used to find NavMesh triangles that correspond to the start and destination points...
Definition: traversalparams.h:68
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43
KyFloat32 m_toOutsideNavMeshDistance
The maximum distance from the destination along the X axis and along the Y axis that will be searched...
Definition: traversalparams.h:88