FMassLaneObstacleContainer

Container to get obstacles from LaneHandle

Choose your operating system:

Windows

macOS

Linux

References

Module

MassAIMovement

Header

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

Include

#include "MassZoneGraphLaneObstacleAnnotations.h"

Syntax

class FMassLaneObstacleContainer

Remarks

Container to get obstacles from LaneHandle

Variables

Functions

Name Description

Public function

void

 

Add

(
    const FMassLaneObstacle& Obstacle
)

Add a FMassLaneObstacle

Public function

const FMassL...

 

Find

(
    const FMassLaneObstacleID& LaneObs...
)

Find a FMassLaneObstacle from it's ID.

Public function

TArray< FMas...

 

Find

(
    const FZoneGraphLaneHandle LaneHand...
)

Returns the array of lane obstacle from a FZoneGraphLaneHandle (this is expected to be the most common access pattern).

Public function

bool

 

Remove

(
    const FMassLaneObstacle& Obstacle
)

Remove a FMassLaneObstacle using it's ID, returns true if it was the last one on the lane.

Public function

void

 

Reset()

Reset data