Kaim::CostMultiplierSubSegment Class Reference

Kaim::CostMultiplierSubSegment Class Reference

#include <costmultipliersubsegment.h>

Class Description

This class represents a CostMultiplier sub-segment of a ray (within a RayCastQuery or a RayCanGoQuery, carried out against the NavMesh).

When you conduct a RayCastQuery or a RayCanGoQuery against a NavMesh, you can set up the QueryDynamicOutputMode for the query to record a CostMultiplierSubSegment for each different CostMultiplier crossed by the ray. You can then iterate through these CostMultiplierSubSegment to make different types of calculations based on theses different CostMultiplier As an example, their are used to build the PathEventList : we retrieve the CostMultiplierSubSegment along the Path by performing queries along each PathEdge and we process them.

Public Attributes

Vec3f m_entrancePos3f
 Records the starting point of the sub-segment. More...
 
Vec3f m_exitPos3f
 Records the ending point of the sub-segment. More...
 

Member Data Documentation

Vec3f Kaim::CostMultiplierSubSegment::m_entrancePos3f

Records the starting point of the sub-segment.

Vec3f Kaim::CostMultiplierSubSegment::m_exitPos3f

Records the ending point of the sub-segment.


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