Module |
|
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 |
URadialFalloff * 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
Parameter |
Description |
---|---|
Magnitude |
Magnitude of the sphere 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 center is higher than the radius |
Radius |
Radius of the sphere falloff field |
Position |
Center position of the sphere falloff field |
Falloff |
Type of falloff function used if the falloff function is picked |