Navigation
API > API/Plugins > API/Plugins/ZoneGraphAnnotations > API/Plugins/ZoneGraphAnnotations/Annotations
References
| Module | ZoneGraphAnnotations |
| Header | /Engine/Plugins/Runtime/ZoneGraphAnnotations/Source/ZoneGraphAnnotations/Public/Annotations/ZoneGraphDisturbanceAnnotation.h |
| Include | #include "Annotations/ZoneGraphDisturbanceAnnotation.h" |
Syntax
struct FZoneGraphEscapeLaneSpan
Remarks
Instructions how to escape from one half of a lane.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bLeadsToExit | True if the action leads to exit | |
| bool | bReverseLaneDirection | True if the Disturbance action should move backwards along the lane. | |
| float | Danger | Max danger value from all danger locations. | |
| FVector | Direction | Lane direction, used for debug drawing. | |
| float | EscapeCost | Disturbance cost value, lower the value leads to safety. | |
| int32 | ExitLaneIndex | Index to exit lane within current ZoneGraph data | |
| EZoneLaneLinkType | ExitLinkType | Describes what type of linked lane to follow. | |
| FVector | Position | Representative position of the action, used during graph calculation and debug drawing. | |
| float | SplitDistance | Distance along the lane where lane is split in 2 spans. |