Navigation
API > API/Plugins > API/Plugins/Water
| Name | UWaterWavesAssetReference |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterWaves.h |
| Include Path | #include "WaterWaves.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, NotBlueprintable, AutoExpandCategories="Water Waves Asset")
class UWaterWavesAssetReference : public UWaterWavesBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UWaterWavesBase → UWaterWavesAssetReference
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| WaterWavesAsset | TObjectPtr< UWaterWavesAsset > | WaterWaves.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UWaterWavesAsset * GetWaterWavesAsset
(
UWaterWaves* InWaterWavesAsset |
WaterWaves.h | ||
void SetWaterWavesAsset
(
UWaterWavesAsset* InWaterWavesAsset |
WaterWaves.h |
Overridden from UWaterWavesBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual float GetMaxWaveHeight() |
Returns the maximum wave height that can be reached by those waves | WaterWaves.h | |
virtual float GetSimpleWaveHeightAtPosition
(
const FVector& InPosition, |
Computes the raw wave perturbation of the water height only (simple version : faster computation) | WaterWaves.h | |
virtual const UWaterWaves * GetWaterWaves () |
Return the underlying Water class type. | WaterWaves.h | |
virtual UWaterWaves * GetWaterWaves () |
WaterWaves.h | ||
virtual float GetWaveAttenuationFactor
(
const FVector& InPosition, |
Computes the attenuation factor to apply to the raw wave perturbation. | WaterWaves.h | |
virtual float GetWaveHeightAtPosition
(
const FVector& InPosition, |
Computes the raw wave perturbation of the water height/normal | WaterWaves.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
WaterWaves.h | ||
virtual void PostDuplicate
(
EDuplicateMode::Type DuplicateMode |
WaterWaves.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
WaterWaves.h | ||
virtual void PostEditUndo() |
WaterWaves.h | ||
virtual void PostLoad() |
WaterWaves.h | ||
virtual void PreEditChange
(
FProperty* PropertyAboutToChange |
WaterWaves.h | ||
virtual void PreEditUndo() |
WaterWaves.h |