UOperatorField::SetOperatorField

Compute an operation between 2 incoming fields

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"

Source

/Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Private/Field/FieldSystemObjects.cpp

Syntax

UOperatorField * SetOperatorField
(
    float Magnitude,
    const UFieldNodeBase * LeftField,
    const UFieldNodeBase * RightField,
    EFieldOperationType Operation
)

Remarks

Compute an operation between 2 incoming fields

Parameters

Parameter

Description

Magnitude

Magnitude of the operator field

LeftField

Input field A to be processed

RightField

Input field B to be processed

Operation

Type of math operation you want to perform between the 2 fields