UZoneGraphTestingComponent

Actor for testing ZoneGraph functionality.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ZoneGraphDebug

Header

/Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraphDebug/Public/ZoneGraphTestingActor.h

Include

#include "ZoneGraphTestingActor.h"

Syntax

UCLASS(ClassGroup=Custom,
       HideCategories=(Physics, Collision, Rendering, Cooking, Lighting, Navigation, Tags, HLOD, Mobile, AssetUserData, Activation))
class UZoneGraphTestingComponent : public UPrimitiveComponent

Remarks

Actor for testing ZoneGraph functionality.

Variables

Name Description

Protected variable

float

 

AdvanceDistance

Protected variable

bool

 

bDrawBVTreeQuery

Protected variable

bool

 

bDrawLanePath

Experimental

Protected variable

bool

 

bDrawLaneSmoothing

Protected variable

bool

 

bDrawLaneTangentVectors

Protected variable

bool

 

bDrawLinkedLanes

Protected variable UProperty Category, EditAnywhere instanced

TArray< UZoneLa...

 

CustomTests

Protected variable UProperty Transient

FZoneGraphLaneL...

 

LaneLocation

Protected variable

FZoneGraphLaneP...

 

LanePath

Protected variable

TArray< FZoneGr...

 

LinkedLanes

Protected variable UProperty Transient

FZoneGraphLaneL...

 

NearestLaneLocation

Protected variable

FVector

 

NearestTestOffset

Protected variable UProperty Transient

FZoneGraphLaneL...

 

NextLaneLocation

Protected variable

FDelegateHandle

 

OnDataAddedHandle

Protected variable

FDelegateHandle

 

OnDataChangedHandle

Protected variable

FDelegateHandle

 

OnDataRemovedHandle

Protected variable UProperty Category, EditAnywhere

AZoneGraphTesti...

 

OtherActor

Protected variable

FZoneGraphTagFi...

 

QueryFilter

Protected variable

FVector

 

SearchExtent

Protected variable UProperty Transient

UZoneGraphSubsy...

 

ZoneGraph

Constructors

Name Description

Public function

UZoneGraphTestingComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function UFunction BlueprintCallable, Category callineditor

void

 

DisableCustomTests()

Prevent custom tests to be notified when lane location is updated.

Public function UFunction BlueprintCallable, Category callineditor

void

 

EnableCustomTests()

Allow custom tests to be notified when lane location is updated.

Public function Const

const FZoneG...

 

GetZoneGraphStorage

(
    const FZoneGraphLaneHandle& LaneHa...
)

Returns the graph storage corresponding to the provided lane handle, if any.

Protected function

void

 

OnZoneGraphDataBuildDone

(
    const FZoneGraphBuildData& BuildDa...
)

Protected function

void

 

OnZoneGraphDataChanged

(
    const AZoneGraphData* ZoneGrap...
)

Public function

void

 

UpdateTests()

Overridden from UPrimitiveComponent

Name Description

Public function Virtual

FPrimitiveSc...

 

CreateSceneProxy()

Creates a proxy to represent the primitive to the scene manager in the rendering thread.

Overridden from USceneComponent

Name Description

Public function Virtual Const

FBoxSphereBo...

 

CalcBounds

(
    const FTransform& LocalToWorld
)

Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size.

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

OnRegister()

Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called.

Public function Virtual

void

 

OnUnregister()

Called when a component is unregistered.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally