URadialFalloff

RadialFalloff

Choose your operating system:

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 URadialFalloff : public UFieldNodeFloat

Remarks

RadialFalloff

Variables

Name Description

Public variable

float

 

Default

The field value will be set to Default if the sample distance from the center is higher than the radius

Public variable

TEnumAsByte< EF...

 

Falloff

Type of falloff function used to model the evolution of the field from the sphere center to the sample position

Public variable

float

 

Magnitude

Magnitude of the sphere 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

FVector

 

Position

Center position of the sphere falloff field

Public variable

float

 

Radius

Radius of the sphere falloff field

Constructors

Name Description

Public function

URadialFalloff()

Destructors

Name Description

Public function Virtual

~URadialFalloff()

Functions

Name Description

Public function

URadialFallo...

 

SetRadialFalloff

(
    float Magnitude,
    float MinRange,
    float MaxRange,
    float Default,
    float Radius,
    FVector Position,
    EFieldFalloffType Falloff
)

Sphere scalar field that will be defined only within a sphere

Overridden from UFieldNodeBase

Name Description

Public function Virtual Const

FFieldNodeBa...

 

NewEvaluationGraph

(
    TArray< const UFieldNodeBase* ...
)