USmartObjectZoneAnnotations

ZoneGraph annotations for smart objects

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MassSmartObjects

Header

/Engine/Plugins/Runtime/MassGameplay/Source/MassSmartObjects/Public/SmartObjectZoneAnnotations.h

Include

#include "SmartObjectZoneAnnotations.h"

Syntax

UCLASS(ClassGroup=AI, BlueprintType, Meta=(BlueprintSpawnableComponent))
class USmartObjectZoneAnnotations : public UZoneGraphAnnotationComponent

Remarks

ZoneGraph annotations for smart objects

Variables

Name Description

Protected variable UProperty Category, EditAnywhere

FZoneGraphTagFi...

 

AffectedLaneTags

Filter specifying which lanes the behavior is applied to.

Protected variable UProperty Category visibleanywhere

FZoneGraphTag

 

BehaviorTag

Tag to mark the lanes that offers smart objects.

Protected variable

FDelegateHandle

 

OnAnnotationSettingsChangedHandle

Protected variable

FDelegateHandle

 

OnGraphDataChangedHandle

Protected variable

FDelegateHandle

 

OnMainCollectionChangedHandle

Protected variable UProperty Category visibleanywhere

TArray< FSmartO...

 

SmartObjectAnnotationDataArray

Entry points graph for each ZoneGraphData.

Protected variable UProperty Transient

USmartObjectSub...

 

SmartObjectSubsystem

Cached SmartObjectSubsystem

Functions

Name Description

Public function Const

const FSmart...

 

GetAnnotationData

(
    FZoneGraphDataHandle DataHandle
)

Protected function

void

 

RebuildForAllGraphs()

Protected function

void

 

RebuildForSingleGraph

(
    FSmartObjectAnnotationData& Data,
    const FZoneGraphStorage& Storage
)

Overridden from UZoneGraphAnnotationComponent

Name Description

Protected function Virtual Const

FZoneGraphTa...

 

GetAnnotationTags()

Protected function Virtual

void

 

PostSubsystemsInitialized()

Called during OnRegister(), or after all subsystems have been initialized.

Protected function Virtual

void

 

PostZoneGraphDataAdded

(
    const AZoneGraphData& ZoneGraphDat...
)

Called when new ZoneGraph data is added.

Protected function Virtual

void

 

PreZoneGraphDataRemoved

(
    const AZoneGraphData& ZoneGraphDat...
)

Called when new ZoneGraph data is removed.

Protected function Virtual

void

 

TickAnnotation

(
    const float DeltaTime,
    FZoneGraphAnnotationTagContainer& ...
)

Ticks the Annotation and changes the tags in the container when needed.

Overridden from UActorComponent

Name Description

Protected function Virtual

void

 

OnUnregister()

Called when a component is unregistered.

Overridden from UObject

Name Description

Protected function Virtual

void

 

PostEditChangeChainProperty

(
    FPropertyChangedChainEvent& Proper...
)

This alternate version of PostEditChange is called when properties inside structs are modified.