Navigation
API > API/Plugins > API/Plugins/Water
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USplineMetadata
- UWaterSplineMetadata
References
| Module | Water |
| Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterSplineMetadata.h |
| Include | #include "WaterSplineMetadata.h" |
Syntax
UCLASS&40;&41;
class UWaterSplineMetadata : public USplineMetadata
Variables
| Type | Name | Description | |
|---|---|---|---|
| FInterpCurveFloat | AudioIntensity | A scalar used to define intensity of the water audio along the spline | |
| bool | bShouldVisualizeDepth | Whether depth visualization should be displayed | |
| bool | bShouldVisualizeRiverWidth | Whether river width visualization should be displayed | |
| bool | bShouldVisualizeWaterVelocity | Whether water velocity visualization should be displayed | |
| FInterpCurveFloat | Depth | ||
| FOnWaterSplineMetadataChanged | OnChangeMetadata | ||
| FInterpCurveFloat | RiverWidth | Rivers Only: The width of the river (from center) in each direction | |
| FInterpCurveFloat | WaterVelocityScalar | The Current of the water at this vertex. Magnitude and direction |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UWaterSplineMetadata
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanEditDepth () |
||
| bool | |||
| bool | |||
| bool | PropagateDefaultValue
(
int32 PointIndex, |
Overridden from USplineMetadata
| Type | Name | Description | |
|---|---|---|---|
| void | AddPoint
(
float InputKey |
||
| void | CopyPoint
(
const USplineMetadata* FromSplineMetadata, |
||
| void | DuplicatePoint
(
int32 Index |
||
| void | Fixup
(
int32 NumPoints, |
||
| void | InsertPoint
(
int32 Index, |
Insert point before index, lerping metadata between previous and next key values | |
| void | RemovePoint
(
int32 Index |
||
| void | Reset
(
int32 NumPoints |
||
| void | UpdatePoint
(
int32 Index, |
Update point at index by lerping metadata between previous and next key values |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
Typedefs
| Name | Description |
|---|---|
| FOnChangeData | |
| FOnWaterSplineMetadataChanged | Delegate called whenever the metadata is updated. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnChangeData | OnChangeData | Use OnChangeMetadata |