Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/EnvironmentQuery > API/Runtime/AIModule/EnvironmentQuery/Generators
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEnvQueryNode
- UEnvQueryGenerator
- UEnvQueryGenerator_ProjectedPoints
- UEnvQueryGenerator_Donut
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/Generators/EnvQueryGenerator_Donut.h |
| Include | #include "EnvironmentQuery/Generators/EnvQueryGenerator_Donut.h" |
Syntax
class UEnvQueryGenerator_Donut : public UEnvQueryGenerator_ProjectedPoints
Variables
| Type | Name | Description | |
|---|---|---|---|
| FAIDataProviderFloatValue | ArcAngle | If you generate items on a piece of circle you define angle of Arc cut here | |
| FEnvDirection | ArcDirection | If you generate items on a piece of circle you define direction of Arc cut here | |
| uint32: 1 | bDefineArc | ||
| bool | bUseSpiralPattern | If true, the rings of the wheel will be rotated in a spiral pattern. | |
| TSubclassOf< class UEnvQueryContext > | Center | Context | |
| FAIDataProviderFloatValue | InnerRadius | Min distance between point and context | |
| FAIDataProviderIntValue | NumberOfRings | Number of rings to generate | |
| FAIDataProviderFloatValue | OuterRadius | Max distance between point and context | |
| FAIDataProviderIntValue | PointsPerRing | Number of items to generate for each ring |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UEnvQueryGenerator_Donut
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector::FReal | GetArcBisectorAngle
(
FEnvQueryInstance& QueryInstance |
||
| bool | IsAngleAllowed
(
FVector::FReal TestAngleRad, |
Overridden from UEnvQueryGenerator
| Type | Name | Description | |
|---|---|---|---|
| void | GenerateItems
(
FEnvQueryInstance& QueryInstance |
Overridden from UEnvQueryNode
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |