Navigation
API > API/Runtime > API/Runtime/FieldSystemEngine > API/Runtime/FieldSystemEngine/Field > API/Runtime/FieldSystemEngine/Field/UBoxFalloff
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 |
UBoxFalloff &42; SetBoxFalloff
&40;
float Magnitude,
float MinRange,
float MaxRange,
float Default,
FTransform Transform,
EFieldFalloffType Falloff
&41;
Remarks
Box scalar field that will be defined only within a box
Parameters
| Name | Description |
|---|---|
| Magnitude | Magnitude of the box falloff field |
| MinRange | The initial function value between 0 and 1 will be scaled between MinRange and MaxRange before being multiplied by magnitude |
| MaxRange | The initial function value between 0 and 1 will be scaled between MinRange and MaxRange before being multiplied by magnitude |
| Default | The field value will be set to Default if the sample distance from the box is higher than the scale of the transform |
| Transform | Translation, Rotation and Scale of the unit box |
| Falloff | Type of falloff function used to model the evolution of the field from the box surface to the sample position |