FMassZoneGraphShortPathFragment

Describes short path along ZoneGraph

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FMassFragment

FMassZoneGraphShortPathFragment

References

Module

MassAIMovement

Header

/Engine/Plugins/AI/MassAI/Source/MassAIMovement/Public/MassZoneGraphMovementFragments.h

Include

#include "MassZoneGraphMovementFragments.h"

Syntax

USTRUCT()
struct FMassZoneGraphShortPathFragment : public FMassFragment

Remarks

Describes short path along ZoneGraph

Variables

Name Description

Public variable

uint8: 1

 

bDone

True when path follow is completed.

Public variable

uint8: 1

 

bMoveReverse

True if we're moving reverse

Public variable

uint8: 1

 

bPartialResult

True if the path was partial.

Public variable

FZoneGraphLaneH...

 

DebugLaneHandle

Current lane handle, for debug

Public variable

EMassMovementAc...

 

EndOfPathIntent

Intent at the end of the path.

Public variable

EZoneLaneLinkTy...

 

NextExitLinkType

If next lane is set, this is how to reach the lane from current lane.

Public variable

FZoneGraphLaneH...

 

NextLaneHandle

If valid, the this lane will be set as current lane after the path follow is completed.

Public variable

uint8

 

NumPoints

Number of points on path.

Public variable

TStaticArray< F...

 

Points

Path points

Public variable

float

 

ProgressDistance

Current progress distance along the lane.

Constructors

Functions

Name Description

Public function Const

bool

 

IsDone()

Public function

bool

 

RequestPath

(
    const FMassZoneGraphCachedLaneFragm...,
    const FZoneGraphShortPathRequest& ...,
    const float CurrentDistanceAlongLan...,
    const float AgentRadius
)

Requests path along the current lane

Public function

bool

 

RequestStand

(
    const FMassZoneGraphCachedLaneFragm...,
    const float CurrentDistanceAlongLan...,
    const FVector& CurrentPosition
)

Requests path to stand at current position.

Public function

void

 

Reset()

Constants

Name

Description

MaxPoints