Nebula
Loading...
Searching...
No Matches
NavigationFeature::NavPath Struct Reference

#include <navquery.h>

Public Attributes

PathStatus status = PathStatus::Failed
Util::Array< Math::point > points
 the corners of the path on the surface, from the start to the end
Util::Array< unsigned char > areas
 the area of each segment, from points[i] to points[i + 1]
float length = 0.0f
 the length of the path
float cost = 0.0f
 the length of every segment times the cost of its area

Member Data Documentation

◆ areas

Util::Array<unsigned char> NavigationFeature::NavPath::areas

the area of each segment, from points[i] to points[i + 1]

◆ cost

float NavigationFeature::NavPath::cost = 0.0f

the length of every segment times the cost of its area

◆ length

float NavigationFeature::NavPath::length = 0.0f

the length of the path

◆ points

Util::Array<Math::point> NavigationFeature::NavPath::points

the corners of the path on the surface, from the start to the end

◆ status

PathStatus NavigationFeature::NavPath::status = PathStatus::Failed

The documentation for this struct was generated from the following file:
  • /github/workspace/code/addons/navigationfeature/navquery.h