Navigation
API > API/Plugins > API/Plugins/ZoneGraph
| Name | UZoneGraphSubsystem |
| Type | class |
| Header File | /Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Public/ZoneGraphSubsystem.h |
| Include Path | #include "ZoneGraphSubsystem.h" |
Syntax
UCLASS (MinimalAPI)
class UZoneGraphSubsystem : public UTickableWorldSubsystem
Inheritance Hierarchy
- FTickableObjectBase → FTickableGameObject → UTickableWorldSubsystem → UZoneGraphSubsystem
- UObjectBase → UObjectBaseUtility → UObject → USubsystem → UWorldSubsystem → UTickableWorldSubsystem → UZoneGraphSubsystem
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UZoneGraphSubsystem() |
ZoneGraphSubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AdvanceLaneLocation
(
const FZoneGraphLaneLocation& InLaneLocation, |
Moves LaneLocation along a lane. | ZoneGraphSubsystem.h | |
bool CalculateLocationAlongLane
(
const FZoneGraphLaneHandle LaneHandle, |
Returns point at a distance along a specific lane. | ZoneGraphSubsystem.h | |
bool FindLaneOverlaps
(
const FVector& Center, |
Find sections of lanes fully overlapping (including lane width). Finds results from all registered ZoneGraph data. | ZoneGraphSubsystem.h | |
bool FindNearestLane
(
const FBox& QueryBounds, |
Find nearest lane that touches the query bounds. Finds results from all registered ZoneGraph data. | ZoneGraphSubsystem.h | |
bool FindNearestLocationOnLane
(
const FZoneGraphLaneHandle LaneHandle, |
Find nearest location on a specific lane. | ZoneGraphSubsystem.h | |
bool FindNearestLocationOnLane
(
const FZoneGraphLaneHandle LaneHandle, |
Find nearest location on a specific lane. | ZoneGraphSubsystem.h | |
bool FindOverlappingLanes
(
const FBox& QueryBounds, |
Find overlapping lanes that touches the query bounds. Finds results from all registered ZoneGraph data. | ZoneGraphSubsystem.h | |
FZoneGraphBuilder & GetBuilder() |
ZoneGraphSubsystem.h | ||
FBox GetCombinedBounds() |
Returns bounds of all ZoneGraph data. | ZoneGraphSubsystem.h | |
bool GetFirstLinkedLane
(
const FZoneGraphLaneHandle LaneHandle, |
Returns handle to first linked lane matching the connection type and flags. | ZoneGraphSubsystem.h | |
bool GetLaneLength
(
const FZoneGraphLaneHandle LaneHandle, |
Returns the length of a specific lane. | ZoneGraphSubsystem.h | |
bool GetLaneTags
(
const FZoneGraphLaneHandle LaneHandle, |
Returns the Tags of a specific lane. | ZoneGraphSubsystem.h | |
bool GetLaneWidth
(
const FZoneGraphLaneHandle LaneHandle, |
Returns the width of a specific lane. | ZoneGraphSubsystem.h | |
bool GetLinkedLanes
(
const FZoneGraphLaneHandle LaneHandle, |
Returns all links to connected lanes of a specific lane. | ZoneGraphSubsystem.h | |
TConstArrayView< FRegisteredZoneGraphData > GetRegisteredZoneGraphData() |
ZoneGraphSubsystem.h | ||
FZoneGraphTag GetTagByName
(
FName TagName |
Returns tag based on name. | ZoneGraphSubsystem.h | |
const FZoneGraphTagInfo * GetTagInfo
(
FZoneGraphTag Tag |
Returns info about a specific tag. | ZoneGraphSubsystem.h | |
TConstArrayView< FZoneGraphTagInfo > GetTagInfos() |
Returns all tag infos. | ZoneGraphSubsystem.h | |
FName GetTagName
(
FZoneGraphTag Tag |
Returns the name of a specific tag. | ZoneGraphSubsystem.h | |
const AZoneGraphData * GetZoneGraphData
(
const FZoneGraphDataHandle DataHandle |
Returns Zone Graph data associated with specified handle. | ZoneGraphSubsystem.h | |
const FZoneGraphStorage * GetZoneGraphStorage
(
const FZoneGraphDataHandle DataHandle |
Returns Zone Graph data storage associated with specified handle, or nullptr if not found. | ZoneGraphSubsystem.h | |
bool IsLaneValid
(
const FZoneGraphLaneHandle LaneHandle |
Returns true if lane handle is valid. | ZoneGraphSubsystem.h | |
FZoneGraphDataHandle RegisterZoneGraphData
(
AZoneGraphData& InZoneGraphData |
ZoneGraphSubsystem.h | ||
void UnregisterZoneGraphData
(
AZoneGraphData& InZoneGraphData |
ZoneGraphSubsystem.h |
Overridden from FTickableGameObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsTickableInEditor() |
ZoneGraphSubsystem.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void OnActorMoved
(
AActor* Actor |
ZoneGraphSubsystem.h | ||
void OnRequestRebuild() |
ZoneGraphSubsystem.h | ||
void RebuildGraph
(
const bool bForceRebuild |
Rebuilds the graph. | ZoneGraphSubsystem.h | |
void RegisterZoneGraphDataInstances() |
ZoneGraphSubsystem.h | ||
void RemoveRegisteredDataItem
(
const int32 Index |
ZoneGraphSubsystem.h | ||
void SpawnMissingZoneGraphData() |
ZoneGraphSubsystem.h | ||
void UnregisterStaleZoneGraphDataInstances() |
ZoneGraphSubsystem.h |
Overridden from UWorldSubsystem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostInitialize() |
ZoneGraphSubsystem.h |
Overridden from USubsystem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Deinitialize() |
ZoneGraphSubsystem.h | ||
virtual void Initialize
(
FSubsystemCollectionBase& Collection |
ZoneGraphSubsystem.h |
Overridden from FTickableObjectBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TStatId GetStatId() |
ZoneGraphSubsystem.h | ||
virtual void Tick
(
float DeltaTime |
ZoneGraphSubsystem.h |