Navigation
API > API/Plugins > API/Plugins/Water
| Name | UBuoyancyComponent |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/BuoyancyComponent.h |
| Include Path | #include "BuoyancyComponent.h" |
Syntax
UCLASS (MinimalAPI, Blueprintable, Config=Game, Meta=(BlueprintSpawnableComponent))
class UBuoyancyComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UBuoyancyComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBuoyancyComponent
(
const FObjectInitializer& ObjectInitializer |
BuoyancyComponent.h |
Structs
| Name | Remarks |
|---|---|
| FAsyncOutputWrapper |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BuoyancyData | FBuoyancyData | BuoyancyComponent.h |
|
|
| bUseAsyncPath | uint8 | BuoyancyComponent.h | ||
| OnEnteredWaterDelegate | FOnPontoonEnteredWater | BuoyancyComponent.h |
|
|
| OnExitedWaterDelegate | FOnPontoonExitedWater | BuoyancyComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCustomPontoon
(
float Radius, |
BuoyancyComponent.h | ||
void AddCustomPontoon
(
float Radius, |
BuoyancyComponent.h | ||
virtual void ApplyForces
(
float DeltaTime, |
BuoyancyComponent.h | ||
FVector ComputeAngularDragTorque
(
const FVector& AngularVelocity |
BuoyancyComponent.h | ||
FVector ComputeLinearDragForce
(
const FVector& PhyiscsVelocity |
BuoyancyComponent.h | ||
FVector ComputeWaterForce
(
const float DeltaTime, |
BuoyancyComponent.h | ||
virtual TUniquePtr< FBuoyancyComponentAsyncAux > CreateAsyncAux() |
BuoyancyComponent.h | ||
void EnteredWaterBody
(
UWaterBodyComponent* WaterBodyComponent |
BuoyancyComponent.h | ||
void ExitedWaterBody
(
UWaterBodyComponent* WaterBodyComponent |
BuoyancyComponent.h | ||
virtual void FinalizeAuxData() |
BuoyancyComponent.h | ||
void FinalizeSimCallbackData
(
FBuoyancyManagerAsyncInput& Input |
BuoyancyComponent.h | ||
virtual void GameThread_ProcessIntermediateAsyncOutput
(
const FBuoyancyComponentAsyncOutput& Output |
BuoyancyComponent.h | ||
void GameThread_ProcessIntermediateAsyncOutput
(
const FBuoyancyManagerAsyncOutput& AsyncOutput |
BuoyancyComponent.h | ||
| BuoyancyComponent.h |
|
||
const TArray< UWaterBodyComponent * > & GetCurrentWaterBodyComponents () |
BuoyancyComponent.h |
|
|
void GetLastWaterSurfaceInfo
(
FVector& OutWaterPlaneLocation, |
BuoyancyComponent.h |
|
|
UPrimitiveComponent * GetSimulatingComponent() |
BuoyancyComponent.h | ||
float GetWaterHeight
(
FVector Position, |
BuoyancyComponent.h | ||
float GetWaterHeight
(
FVector Position, |
BuoyancyComponent.h | ||
void GetWaterSplineKey
(
FVector Location, |
BuoyancyComponent.h | ||
bool HasPontoons() |
BuoyancyComponent.h | ||
virtual bool IsActive() |
BuoyancyComponent.h | ||
bool IsInWaterBody() |
BuoyancyComponent.h |
|
|
bool IsOverlappingWaterBody() |
BuoyancyComponent.h |
|
|
bool IsUsingAsyncPath() |
BuoyancyComponent.h | ||
void OnPontoonEnteredWater
(
const FSphericalPontoon& Pontoon |
BuoyancyComponent.h |
|
|
void OnPontoonExitedWater
(
const FSphericalPontoon& Pontoon |
BuoyancyComponent.h |
|
|
void SetCanBeActive
(
bool bInCanBeActive |
BuoyancyComponent.h | ||
virtual TUniquePtr< FBuoyancyComponentAsyncInput > SetCurrentAsyncInputOutput
(
int32 InputIdx, |
BuoyancyComponent.h | ||
void SetCurrentAsyncInputOutputInternal
(
FBuoyancyComponentAsyncInput* CurInput, |
BuoyancyComponent.h | ||
virtual void SetupWaterBodyOverlaps() |
BuoyancyComponent.h | ||
virtual void Update
(
float DeltaTime |
BuoyancyComponent.h | ||
void UpdatePontoonCoefficients() |
BuoyancyComponent.h | ||
virtual int32 UpdatePontoons
(
float DeltaTime, |
BuoyancyComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginPlay() |
BuoyancyComponent.h | ||
virtual void EndPlay
(
const EEndPlayReason::Type EndPlayReason |
BuoyancyComponent.h | ||
virtual void TickComponent
(
float DeltaTime, |
BuoyancyComponent.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
BuoyancyComponent.h | ||
virtual void PostLoad() |
BuoyancyComponent.h | ||
virtual void Serialize
(
FArchive& Ar |
BuoyancyComponent.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyBuoyancy
(
UPrimitiveComponent* PrimitiveComponent |
BuoyancyComponent.h | ||
void ComputeBuoyancy
(
FSphericalPontoon& Pontoon, |
BuoyancyComponent.h | ||
void ComputePontoonCoefficients() |
BuoyancyComponent.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Pontoons_DEPRECATED | TArray< FSphericalPontoon > | BuoyancyComponent.h |
|