Navigation
API > API/Plugins > API/Plugins/Water
References
| Module | Water |
| Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterBodyTypes.h |
| Include | #include "WaterBodyTypes.h" |
Syntax
struct FWaterBodyQueryResult
Remarks
Struct holding the result from water queries :
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWaterBodyQueryResult
(
const TOptional< float >& InSplineInputKey |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | |||
| EWaterBodyQueryFlags | |||
| const TOptional< float > & | |||
| const FVector & | GetVelocity () |
||
| float | |||
| const FVector & | |||
| const FVector & | |||
| float | |||
| const FVector & | |||
| const FVector & | |||
| const FWaveInfo & | GetWaveInfo () |
||
| bool | |||
| bool | IsInWater () |
||
| float | LazilyComputeSplineKey
(
const UWaterBodyComponent& InWaterBodyComponent, |
||
| float | LazilyComputeSplineKey
(
const FWaterSplineDataPhysics& InWaterSpline, |
||
| void | SetImmersionDepth
(
float InValue |
||
| void | SetIsInExclusionVolume
(
bool bInValue |
||
| void | SetQueryFlags
(
EWaterBodyQueryFlags InFlags |
||
| void | SetVelocity
(
const FVector& InValue |
||
| void | SetWaterPlaneDepth
(
float InValue |
||
| void | SetWaterPlaneLocation
(
const FVector& InValue |
||
| void | SetWaterPlaneNormal
(
const FVector& InValue |
||
| void | SetWaterSurfaceDepth
(
float InValue |
||
| void | SetWaterSurfaceLocation
(
const FVector& InValue |
||
| void | SetWaterSurfaceNormal
(
const FVector& InValue |
||
| void | SetWaveInfo
(
const FWaveInfo& InValue |