Navigation
API > API/Runtime > API/Runtime/FieldSystemEngine
BoxFalloff
| Name | UBoxFalloff |
| 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="Box scalar field that will be defined only within a box"),
ShowCategories=("Field"), MinimalAPI)
class UBoxFalloff : public UFieldNodeFloat
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UFieldNodeBase → UFieldNodeFloat → UBoxFalloff
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBoxFalloff() |
Field/FieldSystemObjects.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UBoxFalloff() |
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 box is higher than the scale of the transform | Field/FieldSystemObjects.h |
|
| Falloff | TEnumAsByte< EFieldFalloffType > | Type of falloff function used to model the evolution of the field from the box surface to the sample position | Field/FieldSystemObjects.h |
|
| Magnitude | float | Magnitude of the box 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 |
|
| Transform | FTransform | Translation, Rotation and Scale of the unit box | Field/FieldSystemObjects.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBoxFalloff * SetBoxFalloff
(
float Magnitude, |
Box scalar field that will be defined only within a box | Field/FieldSystemObjects.h |
|
Overridden from UFieldNodeBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FFieldNodeBase * NewEvaluationGraph
(
TArray< const UFieldNodeBase* >& Nodes |
Field/FieldSystemObjects.h |