Navigation
API > API/Runtime > API/Runtime/FieldSystemEngine
| Name | UWaveScalar |
| 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="Set a temporal wave scalar value according to the sample distance from the field position."),
ShowCategories=("Field"), MinimalAPI)
class UWaveScalar : public UFieldNodeFloat
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UFieldNodeBase → UFieldNodeFloat → UWaveScalar
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UWaveScalar() |
Field/FieldSystemObjects.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UWaveScalar() |
Field/FieldSystemObjects.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Falloff | TEnumAsByte< EFieldFalloffType > | Type of falloff function used if the falloff function is picked | Field/FieldSystemObjects.h |
|
| Function | TEnumAsByte< EWaveFunctionType > | Wave function used for the field | Field/FieldSystemObjects.h |
|
| Magnitude | float | Magnitude of the wave function | Field/FieldSystemObjects.h |
|
| Period | float | Time over which the wave will travel from one peak to another one. | Field/FieldSystemObjects.h |
|
| Position | FVector | Center position of the wave field | Field/FieldSystemObjects.h |
|
| Wavelength | float | Distance between 2 wave peaks | Field/FieldSystemObjects.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UWaveScalar * SetWaveScalar
(
float Magnitude, |
Set a temporal wave scalar value according to the sample distance from the field position. | Field/FieldSystemObjects.h |
|
Overridden from UFieldNodeBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FFieldNodeBase * NewEvaluationGraph
(
TArray< const UFieldNodeBase* >& Nodes |
Field/FieldSystemObjects.h |