Navigation
API > API/Plugins > API/Plugins/MassZoneGraphNavigation
Describes part of a ZoneGraph lane.
| Name | FMassZoneGraphCachedLaneFragment |
| Type | struct |
| Header File | /Engine/Plugins/AI/MassAI/Source/MassZoneGraphNavigation/Public/MassZoneGraphNavigationFragments.h |
| Include Path | #include "MassZoneGraphNavigationFragments.h" |
Syntax
USTRUCT ()
struct FMassZoneGraphCachedLaneFragment : public FMassFragment
Inheritance Hierarchy
- FMassFragment → FMassZoneGraphCachedLaneFragment
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxPoints | uint8 | MassZoneGraphNavigationFragments.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CacheID | uint16 | ID incremented each time the cache is updated. | MassZoneGraphNavigationFragments.h | |
| LaneHandle | FZoneGraphLaneHandle | MassZoneGraphNavigationFragments.h | ||
| LaneLeftSpace | FMassInt16Real | Additional space left of the lane | MassZoneGraphNavigationFragments.h | |
| LaneLength | float | Cached length of the lane. | MassZoneGraphNavigationFragments.h | |
| LanePointProgressions | TStaticArray< FMassInt16Real10, MaxPoints > | Lane Advance distances | MassZoneGraphNavigationFragments.h | |
| LanePoints | TStaticArray< FVector, MaxPoints > | Lane points | MassZoneGraphNavigationFragments.h | |
| LaneRightSpace | FMassInt16Real | Additional space right of the lane | MassZoneGraphNavigationFragments.h | |
| LaneTangentVectors | TStaticArray< FMassSnorm8Vector2D, MaxPoints > | Lane tangents | MassZoneGraphNavigationFragments.h | |
| LaneWidth | FMassInt16Real | Cached width of the lane. | MassZoneGraphNavigationFragments.h | |
| NumPoints | uint8 | Number of points on path. | MassZoneGraphNavigationFragments.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CacheLaneData
(
const FZoneGraphStorage& ZoneGraphStorage, |
Caches portion of a lane from ZoneGraph. | MassZoneGraphNavigationFragments.h | |
int32 FindSegmentIndexAtDistance
(
const float DistanceAlongPath |
MassZoneGraphNavigationFragments.h | ||
float GetInterpolationTimeOnSegment
(
const int32 SegmentIndex, |
MassZoneGraphNavigationFragments.h | ||
void GetPointAndTangentAtDistance
(
const float DistanceAlongPath, |
MassZoneGraphNavigationFragments.h | ||
FVector GetPointAtDistance
(
const float DistanceAlongPath |
MassZoneGraphNavigationFragments.h | ||
void InterpolatePointAndTangentOnSegment
(
const int32 SegmentIndex, |
MassZoneGraphNavigationFragments.h | ||
FVector InterpolatePointOnSegment
(
const int32 SegmentIndex, |
MassZoneGraphNavigationFragments.h | ||
bool IsDistanceAtLaneExtrema
(
const float Distance |
MassZoneGraphNavigationFragments.h | ||
void Reset() |
MassZoneGraphNavigationFragments.h |