UBoxFalloff

BoxFalloff

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

FieldSystemEngine

Header

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

Include

#include "Field/FieldSystemObjects.h"

Syntax

class UBoxFalloff : public UFieldNodeFloat

Remarks

BoxFalloff

Variables

Name Description

Public variable

float

 

Default

The field value will be set to Default if the sample distance from the box is higher than the scale of the transform

Public variable

TEnumAsByte< EF...

 

Falloff

Type of falloff function used to model the evolution of the field from the box surface to the sample position

Public variable

float

 

Magnitude

Magnitude of the box falloff field

Public variable

float

 

MaxRange

The initial function value between 0 and 1 will be scaled between MinRange and MaxRange before being multiplied by magnitude

Public variable

float

 

MinRange

The initial function value between 0 and 1 will be scaled between MinRange and MaxRange before being multiplied by magnitude

Public variable

FTransform

 

Transform

Translation, Rotation and Scale of the unit box

Constructors

Name Description

Public function

UBoxFalloff()

Destructors

Name Description

Public function Virtual

~UBoxFalloff()

Functions

Name Description

Public function

UBoxFalloff ...

 

SetBoxFalloff

(
    float Magnitude,
    float MinRange,
    float MaxRange,
    float Default,
    FTransform Transform,
    EFieldFalloffType Falloff
)

Box scalar field that will be defined only within a box

Overridden from UFieldNodeBase

Name Description

Public function Virtual Const

FFieldNodeBa...

 

NewEvaluationGraph

(
    TArray< const UFieldNodeBase* ...
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss