Navigation
API > API/Plugins > API/Plugins/WorldConditions
References
| Module | WorldConditions |
| Header | /Engine/Plugins/Runtime/WorldConditions/Source/WorldConditions/Public/WorldConditionQuery.h |
| Include | #include "WorldConditionQuery.h" |
Syntax
USTRUCT&40;&41;
struct FWorldConditionQuery
Remarks
General purpose World Condition Query that combines Query Definition and Query State in one.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FWorldConditionQueryDefinition | QueryDefinition | Defines the conditions to run on the query. | |
| FWorldConditionQueryState | QueryState | Runtime state of the query. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Activate
(
const UObject& Owner, |
Activates the world conditions in the query. | |
| void | Deactivate
(
const FWorldConditionContextData& ContextData |
Deactivates the world conditions in the query. | |
| bool | DebugInitialize
(
const UObject* Outer, |
Initializes a query from array of conditions for testing. | |
| bool | IsActive () |
||
| bool | IsTrue
(
const FWorldConditionContextData& ContextData |
Returns the result of the query. |