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