Navigation
API > API/Plugins > API/Plugins/ZoneGraphAnnotations
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- UDebugDrawComponent
- UZoneGraphAnnotationComponent
- USmartObjectZoneAnnotations
- UZoneGraphCrowdLaneAnnotations
- UZoneGraphDisturbanceAnnotation
References
| Module | ZoneGraphAnnotations |
| Header | /Engine/Plugins/Runtime/ZoneGraphAnnotations/Source/ZoneGraphAnnotations/Public/ZoneGraphAnnotationComponent.h |
| Include | #include "ZoneGraphAnnotationComponent.h" |
Syntax
UCLASS&40;Abstract&41;
class UZoneGraphAnnotationComponent : public UDebugDrawComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnableDebugDrawing | ||
| FDelegateHandle | CanvasDebugDrawDelegateHandle | ||
| FDelegateHandle | OnPostWorldInitDelegateHandle | ||
| FDelegateHandle | OnPostZoneGraphDataAddedHandle | ||
| FDelegateHandle | OnPreZoneGraphDataRemovedHandle |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UZoneGraphAnnotationComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DebugDraw
(
FZoneGraphAnnotationSceneProxy* DebugProxy |
Called when scene proxy is rebuilt. | |
| void | DebugDrawCanvas
(
UCanvas* Canvas, |
Called when it's time to draw to canvas. | |
| FZoneGraphTagMask | |||
| void | GetFirstViewPoint
(
FVector& ViewLocation, |
Returns first view point (player controller or debug camera) | |
| float | Returns ZoneGraph max debug draw distance. | ||
| void | HandleEvents
(
const FInstancedStructContainer& Events |
Called when new events are ready to be processed | |
| void | OnPostWorldInit
(
UWorld* World, |
||
| void | OnPostZoneGraphDataAdded
(
const AZoneGraphData* ZoneGraphData |
||
| void | OnPreZoneGraphDataRemoved
(
const AZoneGraphData* ZoneGraphData |
||
| void | Called during OnRegister(), or after all subsystems have been initialized. | ||
| void | PostZoneGraphDataAdded
(
const AZoneGraphData& ZoneGraphData |
Called when new ZoneGraph data is added. | |
| void | PreZoneGraphDataRemoved
(
const AZoneGraphData& ZoneGraphData |
Called when new ZoneGraph data is removed. | |
| void | TickAnnotation
(
const float DeltaTime, |
Ticks the Annotation and changes the tags in the container when needed. |
Overridden from UDebugDrawComponent
| Type | Name | Description | |
|---|---|---|---|
| FDebugRenderSceneProxy * | Method that derived class should override to create the scene proxy and customize a custom delegate helper (if any) |
Overridden from USceneComponent
| Type | Name | Description | |
|---|---|---|---|
| FBoxSphereBounds | CalcBounds
(
const FTransform& LocalToWorld |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | |
| void | OnUnregister () |
Called when a component is unregistered. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
This alternate version of PostEditChange is called when properties inside structs are modified. |