Navigation
API > API/Runtime > API/Runtime/FieldSystemEngine
Field Commands container that will be stored in the construction script
| Name | FFieldObjectCommands |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Public/Field/FieldSystemObjects.h |
| Include Path | #include "Field/FieldSystemObjects.h" |
Syntax
USTRUCT (BlueprintType )
struct FFieldObjectCommands
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFieldObjectCommands() |
Field/FieldSystemObjects.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FFieldObjectCommands() |
Field/FieldSystemObjects.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MetaDatas | TArray< TObjectPtr< UFieldSystemMetaData > > | Commands Meta Data | Field/FieldSystemObjects.h |
|
| RootNodes | TArray< TObjectPtr< UFieldNodeBase > > | Commands Root Node | Field/FieldSystemObjects.h |
|
| TargetNames | TArray< FName > | Commands Target Name | Field/FieldSystemObjects.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddFieldCommand
(
const FName& TargetName, |
Add a command to the container | Field/FieldSystemObjects.h | |
FFieldSystemCommand BuildFieldCommand
(
const int32 CommandIndex |
Build the FFieldCommand from one item in the container | Field/FieldSystemObjects.h | |
int32 GetNumCommands() |
Get the number of commands in the container | Field/FieldSystemObjects.h | |
void ResetFieldCommands() |
Reset the commands container to empty | Field/FieldSystemObjects.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FFieldSystemCommand CreateFieldCommand
(
const EFieldPhysicsType PhysicsType, |
Create a FFieldCommand from a given target + Fnode | Field/FieldSystemObjects.h | |
static FFieldSystemCommand CreateFieldCommand
(
const EFieldPhysicsType PhysicsType, |
Create a FFieldCommand from a given target + Unode + metadata | Field/FieldSystemObjects.h |