Navigation
API > API/Plugins > API/Plugins/Water
| Name | FSolverSafeWaterBodyData |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterBodyTypes.h |
| Include Path | #include "WaterBodyTypes.h" |
Syntax
struct FSolverSafeWaterBodyData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| WaterBodyTypes.h | |||
FSolverSafeWaterBodyData
(
UWaterBodyComponent* WaterBodyComponent |
WaterBodyTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LandscapeCollisionComponents | TArray< UPrimitiveComponent * > | WaterBodyTypes.h | ||
| Location | FVector | WaterBodyTypes.h | ||
| MaxWaveHeight | float | WaterBodyTypes.h | ||
| OceanHeightOffset | float | WaterBodyTypes.h | ||
| TargetWaveMaskDepth | float | WaterBodyTypes.h | ||
| WaterBodyIndex | int32 | WaterBodyTypes.h | ||
| WaterBodyType | EWaterBodyType | WaterBodyTypes.h | ||
| WaterSpline | FWaterSplineDataPhysics | WaterBodyTypes.h | ||
| WaterSplineMetadata | FWaterSplineMetadataPhysics | WaterBodyTypes.h | ||
| WaveParams | TArray< FGerstnerWave > | WaterBodyTypes.h | ||
| WaveSpeedFactor | float | WaterBodyTypes.h | ||
| World | UWorld * | WaterBodyTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EWaterBodyQueryFlags CheckAndAjustQueryFlags
(
EWaterBodyQueryFlags InQueryFlags |
WaterBodyTypes.h | ||
float GetSimpleWaveHeightAtPosition
(
const FVector& InPosition, |
Computes the raw wave perturbation of the water height only (simple version : faster computation) | WaterBodyTypes.h | |
float GetSimpleWaveOffsetAtPosition
(
const FGerstnerWave& InParams, |
WaterBodyTypes.h | ||
float GetWaterVelocityAtSplineInputKey
(
float InKey |
WaterBodyTypes.h | ||
FVector GetWaterVelocityVectorAtSplineInputKey
(
float InKey |
WaterBodyTypes.h | ||
float GetWaveAttenuationFactor
(
const FVector& InPosition, |
Computes the attenuation factor to apply to the raw wave perturbation. | WaterBodyTypes.h | |
float GetWaveHeightAtPosition
(
const FVector& InPosition, |
WaterBodyTypes.h | ||
bool GetWaveInfoAtPosition
(
const FVector& InPosition, |
Fills wave-related information at the given world position and for this water depth. | WaterBodyTypes.h | |
FVector GetWaveOffsetAtPosition
(
const FGerstnerWave& InWaveParams, |
WaterBodyTypes.h | ||
FWaterBodyQueryResult QueryWaterInfoClosestToWorldLocation
(
const FVector& InWorldLocation, |
WaterBodyTypes.h | ||
bool WaterBodyTypeSupportsWaves() |
WaterBodyTypes.h |