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 ()
struct FWorldConditionQueryDefinition
Remarks
Definition of a world condition. The mutable state of the world condition is stored in FWorldConditionQueryState. This allows to reuse the definitions and minimize the runtime memory needed to run queries.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCondition
(
const FWorldConditionEditable& NewCondition |
Adds a single condition to the definition. | |
| void | AddStructReferencedObjects
(
FReferenceCollector& Collector |
||
| bool | ExportTextItem
(
FString& ValueStr, |
||
| FText | @returs description of the query expression. | ||
| TSubclassOf< UWorldConditionSchema > | |||
| TSharedPtr< FWorldConditionQuerySharedDefinition > | |||
| bool | Identical
(
const FWorldConditionQueryDefinition* Other, |
||
| bool | ImportTextItem
(
const TCHAR*& Buffer, |
||
| bool | Initialize
(
const UObject* Outer |
Initialized the condition from editable data. | |
| bool | Initialize
(
const UObject* Outer, |
Initialized the condition with specific data. | |
| bool | IsValid () |
||
| bool | Serialize
(
FArchive& Ar |
||
| void | SetSchemaClass
(
const TSubclassOf< UWorldConditionSchema > InSchema |
Sets the schema class that is used to create the conditions. |