Navigation
API > API/Plugins > API/Plugins/ZoneGraphAnnotations
Inheritance Hierarchy
- UTickableWorldSubsystem
- UZoneGraphAnnotationSubsystem
References
| Module | ZoneGraphAnnotations |
| Header | /Engine/Plugins/Runtime/ZoneGraphAnnotations/Source/ZoneGraphAnnotations/Public/ZoneGraphAnnotationSubsystem.h |
| Include | #include "ZoneGraphAnnotationSubsystem.h" |
Syntax
UCLASS ()
class UZoneGraphAnnotationSubsystem : public UTickableWorldSubsystem
Remarks
A subsystem managing Zonegraph Annotations.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FZoneGraphAnnotationTagContainer | AnnotationTagContainer | Combined tags for each ZoneGraphData. | |
| int32 | CurrentEventStream | Index of the current event stream. | |
| FInstancedStructContainer[2] | Events | Stream of events to be processed, double buffered. | |
| FDelegateHandle | OnPostZoneGraphDataAddedHandle | ||
| FDelegateHandle | OnPreZoneGraphDataRemovedHandle | ||
| TArray< FRegisteredZoneGraphAnnotation > | RegisteredComponents | Array of registered components. | |
| TArray< TObjectPtr< UZoneGraphAnnotationComponent > > | TagToAnnotationLookup | Lookup table from tag index to Annotation |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddToAnnotationLookup
(
UZoneGraphAnnotationComponent& Annotation, |
||
| void | Deinitialize () |
||
| FZoneGraphTagMask | GetAnnotationTags
(
const FZoneGraphLaneHandle LaneHandle |
||
| UZoneGraphAnnotationComponent * | GetFirstAnnotationForTag
(
const FZoneGraphTag AnnotationTag |
||
| TStatId | GetStatId () |
||
| void | Initialize
(
FSubsystemCollectionBase& Collection |
||
| void | PostZoneGraphDataAdded
(
const AZoneGraphData* ZoneGraphData |
||
| void | PreZoneGraphDataRemoved
(
const AZoneGraphData* ZoneGraphData |
||
| void | RegisterAnnotationComponent
(
UZoneGraphAnnotationComponent& Component |
Registers Annotation component | |
| void | RemoveFromAnnotationLookup
(
UZoneGraphAnnotationComponent& Annotation |
||
| void | Signals the subsystem to re-register all tags. | ||
| TEnableIf< TIsDerivedFrom< T, FZoneGraphAnnotationEventBase >::IsDerived, void >::Type | SendEvent
(
const T& InRequest |
Sends an event to the Annotations. | |
| void | Tick
(
float DeltaTime |
||
UE_MT_DECLARE_RW_ACCESS_DETECTOR
(
EventsDetector |
|||
| void | UnregisterAnnotationComponent
(
UZoneGraphAnnotationComponent& Component |
Unregisters Annotation component |