FFieldObjectCommands

FieldCommands container that will be stored in the construction script

Choose your operating system:

Windows

macOS

Linux

References

Module

FieldSystemEngine

Header

/Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Public/Field/FieldSystemObjects.h

Include

#include "Field/FieldSystemObjects.h"

Syntax

struct FFieldObjectCommands

Remarks

FieldCommands container that will be stored in the construction script

Variables

Name Description

Public variable

TArray< TObject...

 

MetaDatas

Commands Meta Data

Public variable

TArray< TObject...

 

RootNodes

CommandsRoot Node

Public variable

TArray< FName >

 

TargetNames

Commands Target Name

Constructors

Name Description

Public function

FFieldObjectCommands()

Destructors

Name Description

Public function

~FFieldObjectCommands()

Functions

Name Description

Public function

void

 

AddFieldCommand

(
    const FName& TargetName,
    UFieldNodeBase* RootNode,
    UFieldSystemMetaData* MetaData
)

Add a command to the container

Public function Const

FFieldSystem...

 

BuildFieldCommand

(
    const int32 CommandIndex
)

Build the FFieldCommand from one item in the container

Public function Static

FFieldSystem...

 

CreateFieldCommand

(
    const EFieldPhysicsType PhysicsType,
    FFieldNodeBase* RootNode
)

Create a FFieldCommand from a given target + Fnode

Public function Static

FFieldSystem...

 

CreateFieldCommand

(
    const EFieldPhysicsType PhysicsType,
    UFieldNodeBase* RootNode,
    UFieldSystemMetaData* MetaData
)

Create a FFieldCommand from a given target + Unode + metadata

Public function Const

int32

 

GetNumCommands()

Get the number of commands in the container

Public function

void

 

ResetFieldCommands()

Reset the commands container to empty