Navigation
API > API/Plugins > API/Plugins/ZoneGraph
References
| Module | ZoneGraph |
| Header | /Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Public/ZoneGraphBuilder.h |
| Include | #include "ZoneGraphBuilder.h" |
Syntax
USTRUCT&40;&41;
struct FZoneGraphBuilder
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsDirty | ||
| bool | bSkipHashCheck | ||
| FZoneGraphBuildData | BuildData | ||
| FZoneGraphBuilderHashGrid2D | HashGrid | ||
| FDelegateHandle | OnBuildSettingsChangedHandle | ||
| FDelegateHandle | OnLaneProfileChangedHandle | ||
| FDelegateHandle | OnTagsChangedHandle | ||
| TArray< FZoneGraphBuilderRegisteredComponent > | ShapeComponents | ||
| TArray< int32 > | ShapeComponentsFreeList | ||
| TMap< TObjectPtr< UZoneShapeComponent >, int32 > | ShapeComponentToIndex |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AppendShapeToZoneStorage
(
const UZoneShapeComponent& ShapeComp, |
||
| void | Build
(
AZoneGraphData& ZoneGraphData |
||
| void | BuildAll
(
const TArray< AZoneGraphData* >& AllZoneGraphData, |
Builds zone graph for each zone graph data based on registered shapes. | |
| void | BuildSingleShape
(
const UZoneShapeComponent& ShapeComp, |
Converts single zone shape into a zone storage, used in UI for editing and rendering. | |
| uint32 | CalculateCombinedShapeHash
(
const AZoneGraphData& ZoneGraphData |
||
| void | ConnectLanes
(
TArray< FZoneShapeLaneInternalLink >& InternalLinks, |
||
| void | FindShapeConnections
(
const UZoneShapeComponent& SourceShapeComp, |
||
| const TArray< FZoneGraphBuilderRegisteredComponent > & | |||
| bool | NeedsRebuild () |
||
| void | OnLaneProfileChanged
(
const FZoneLaneProfileRef& ChangedLaneProfileRef |
||
| void | OnZoneShapeComponentChanged
(
UZoneShapeComponent& ShapeComp |
||
| void | RegisterZoneShapeComponent
(
UZoneShapeComponent& ShapeComp |
||
| void | |||
| void | UnregisterZoneShapeComponent
(
UZoneShapeComponent& ShapeComp |