UEnvQueryGenerator_OnCircle

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/Generators/EnvQueryGenerator_OnCircle.h

Include

#include "EnvironmentQuery/Generators/EnvQueryGenerator_OnCircle.h"

Syntax

class UEnvQueryGenerator_OnCircle : public UEnvQueryGenerator_ProjectedPoints

Variables

Name Description

Public variable

float

 

AngleRadians

Public variable

FAIDataProvider...

 

ArcAngle

If you generate items on a piece of circle you define angle of Arc cut here

Public variable

FEnvDirection

 

ArcDirection

If you generate items on a piece of circle you define direction of Arc cut here

Public variable

uint32: 1

 

bDefineArc

Public variable

bool

 

bIgnoreAnyContextActorsWhenGeneratingCircle

Ignore tracing into context actors when generating the circle

Public variable

TSubclassOf< cl...

 

CircleCenter

Context

Public variable

FAIDataProvider...

 

CircleCenterZOffset

Context offset

Public variable

FAIDataProvider...

 

CircleRadius

Max distance of path between point and context

Public variable

FAIDataProvider...

 

NumberOfPoints

This many items will be generated on a circle

Public variable

EPointOnCircleS...

 

PointOnCircleSpacingMethod

How we are choosing where the points are in the circle

Public variable

FAIDataProvider...

 

SpaceBetween

Items will be generated on a circle this much apart

Public variable

FEnvTraceData

 

TraceData

Horizontal trace for nearest obstacle

Constructors

Name Description

Public function

UEnvQueryGenerator_OnCircle

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function Virtual Const

void

 

AddItemDataForCircle

(
    uint8* ContextRawData,
    UEnvQueryItemType* ContextItem...,
    const TArray< FNavLocation >& Loca...,
    FEnvQueryInstance& OutQueryInstanc...
)

Protected function Const

FVector

 

CalcDirection

(
    FEnvQueryInstance& QueryInstance
)

Protected function Const

void

 

GenerateItemsForCircle

(
    uint8* ContextRawData,
    UEnvQueryItemType* ContextItem...,
    const FVector& CenterLocation,
    const FVector& StartDirection,
    const TArray< AActor* >& Igno...,
    int32 StepsCount,
    float AngleStep,
    FEnvQueryInstance& OutQueryInstanc...
)

Overridden from UEnvQueryGenerator

Name Description

Public function Virtual Const

void

 

GenerateItems

(
    FEnvQueryInstance& QueryInstance
)

Overridden from UEnvQueryNode

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.