Infohazard.HyperNav 1.1.5
3D Navigation for Flying Characters
Loading...
Searching...
No Matches
Infohazard.HyperNav.NavHit Struct Reference

Structure that is used to report the nearest point on a NavVolume to a query. More...

Properties

NavVolume Volume [get, set]
 The NavVolume that was hit. More...
 
int Region [get, set]
 The region index within the hit Volume. More...
 
bool IsOnEdge [get, set]
 If true, query point was outside the region and thus this result is the nearest point. If false, query point was inside the region and the hit was at that exact position. More...
 
Vector3 Position [get, set]
 The position of the query result point. More...
 
Vector3 Normal [get, set]
 Currently not used and always Vector3.zero. More...
 
bool IsValid [get]
 Whether a valid Volume and Region were hit. More...
 

Detailed Description

Structure that is used to report the nearest point on a NavVolume to a query.

Property Documentation

◆ IsOnEdge

bool Infohazard.HyperNav.NavHit.IsOnEdge
getset

If true, query point was outside the region and thus this result is the nearest point. If false, query point was inside the region and the hit was at that exact position.

◆ IsValid

bool Infohazard.HyperNav.NavHit.IsValid
get

Whether a valid Volume and Region were hit.

◆ Normal

Vector3 Infohazard.HyperNav.NavHit.Normal
getset

Currently not used and always Vector3.zero.

◆ Position

Vector3 Infohazard.HyperNav.NavHit.Position
getset

The position of the query result point.

◆ Region

int Infohazard.HyperNav.NavHit.Region
getset

The region index within the hit Volume.

◆ Volume

NavVolume Infohazard.HyperNav.NavHit.Volume
getset

The NavVolume that was hit.


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