FZoneGraphBuilder

Choose your operating system:

Windows

macOS

Linux

References

Module

ZoneGraph

Header

/Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Public/ZoneGraphBuilder.h

Include

#include "ZoneGraphBuilder.h"

Syntax

USTRUCT()
struct FZoneGraphBuilder

Variables

Name Description

Protected variable

bool

 

bIsDirty

Protected variable

bool

 

bSkipHashCheck

Protected variable UProperty Transient

FZoneGraphBuild...

 

BuildData

Protected variable

FZoneGraphBuild...

 

HashGrid

Protected variable

FDelegateHandle

 

OnBuildSettingsChangedHandle

Protected variable

FDelegateHandle

 

OnLaneProfileChangedHandle

Protected variable

FDelegateHandle

 

OnTagsChangedHandle

Protected variable UProperty Transient

TArray< FZoneGr...

 

ShapeComponents

Protected variable UProperty Transient

TArray< int32 >

 

ShapeComponentsFreeList

Protected variable UProperty Transient

TMap< UZoneShap...

 

ShapeComponentToIndex

Constructors

Name Description

Public function

FZoneGraphBuilder()

Destructors

Name Description

Public function

~FZoneGraphBuilder()

Functions

Name Description

Protected function Static

void

 

AppendShapeToZoneStorage

(
    const UZoneShapeComponent& ShapeCo...,
    const FMatrix& LocalToWorld,
    FZoneGraphStorage& OutZoneStorage,
    TArray< FZoneShapeLaneInternalLink ...,
    FZoneGraphBuildData* InBuildDa...
)

Protected function

void

 

Build

(
    AZoneGraphData& ZoneGraphData
)

Public function

void

 

BuildAll

(
    const TArray< AZoneGraphData* ...,
    const bool bForceRebuild
)

Builds zone graph for each zone graph data based on registered shapes.

Public function Static

void

 

BuildSingleShape

(
    const UZoneShapeComponent& ShapeCo...,
    const FMatrix& LocalToWorld,
    FZoneGraphStorage& OutZoneStorage
)

Converts single zone shape into a zone storage, used in UI for editing and rendering.

Protected function Const

uint32

 

CalculateCombinedShapeHash

(
    const AZoneGraphData& ZoneGraphDat...
)

Protected function Static

void

 

ConnectLanes

(
    TArray< FZoneShapeLaneInternalLink ...,
    FZoneGraphStorage& OutZoneStorage
)

Public function Const

void

 

FindShapeConnections

(
    const UZoneShapeComponent& SourceS...,
    TArray< FZoneShapeConnection >& Ou...
)

Public function Const

const TArray...

 

GetRegisteredZoneShapeComponents()

Public function Const

bool

 

NeedsRebuild()

Protected function

void

 

OnLaneProfileChanged

(
    const FZoneLaneProfileRef& Changed...
)

Public function

void

 

OnZoneShapeComponentChanged

(
    UZoneShapeComponent& ShapeComp
)

Public function

void

 

RegisterZoneShapeComponent

(
    UZoneShapeComponent& ShapeComp
)

Protected function

void

 

RequestRebuild()

Public function

void

 

UnregisterZoneShapeComponent

(
    UZoneShapeComponent& ShapeComp
)