Navigation
API > API/Runtime > API/Runtime/FieldSystemEngine
RadialFalloff
| Name | URadialFalloff |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Public/Field/FieldSystemObjects.h |
| Include Path | #include "Field/FieldSystemObjects.h" |
Syntax
UCLASS (ClassGroup="Field",
Meta=(BlueprintSpawnableComponent, ToolTip="Sphere scalar field that will be defined only within a sphere"),
ShowCategories=("Field"), MinimalAPI)
class URadialFalloff : public UFieldNodeFloat
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UFieldNodeBase → UFieldNodeFloat → URadialFalloff
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URadialFalloff() |
Field/FieldSystemObjects.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~URadialFalloff() |
Field/FieldSystemObjects.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Default | float | The field value will be set to Default if the sample distance from the center is higher than the radius | Field/FieldSystemObjects.h |
|
| Falloff | TEnumAsByte< EFieldFalloffType > | Type of falloff function used to model the evolution of the field from the sphere center to the sample position | Field/FieldSystemObjects.h |
|
| Magnitude | float | Magnitude of the sphere falloff field | Field/FieldSystemObjects.h |
|
| MaxRange | float | The initial function value between 0 and 1 will be scaled between MinRange and MaxRange before being multiplied by magnitude | Field/FieldSystemObjects.h |
|
| MinRange | float | The initial function value between 0 and 1 will be scaled between MinRange and MaxRange before being multiplied by magnitude | Field/FieldSystemObjects.h |
|
| Position | FVector | Center position of the sphere falloff field | Field/FieldSystemObjects.h |
|
| Radius | float | Radius of the sphere falloff field | Field/FieldSystemObjects.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URadialFalloff * SetRadialFalloff
(
float Magnitude, |
Sphere scalar field that will be defined only within a sphere | Field/FieldSystemObjects.h |
|
Overridden from UFieldNodeBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FFieldNodeBase * NewEvaluationGraph
(
TArray< const UFieldNodeBase* >& Nodes |
Field/FieldSystemObjects.h |