Navigation
API > API/Plugins > API/Plugins/Buoyancy
Velocity field used solely for aerodynamics effects including water submersion.
| Name | FBuoyancyField |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Buoyancy/Source/Runtime/Public/BuoyancyField.h |
| Include Path | #include "BuoyancyField.h" |
Syntax
class FBuoyancyField : public Chaos::Softs::FVelocityAndPressureField
Inheritance Hierarchy
- FVelocityAndPressureField → FBuoyancyField
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Construct an uninitialized field. Mesh, properties, and velocity will have to be set for this field to be valid. | BuoyancyField.h | ||
FBuoyancyField
(
const Chaos::Softs::FCollectionPropertyConstFacade& PropertyCollection |
BuoyancyField.h | ||
FBuoyancyField
(
const Chaos::Softs::FSolverParticlesRange& Particles, |
BuoyancyField.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FBuoyancyField() |
BuoyancyField.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseWaterBodies | bool | BuoyancyField.h | ||
| ClothDensityInWater | FSolverReal | BuoyancyField.h | ||
| ClothRho | FSolverReal | BuoyancyField.h | ||
| ExternalForces | TSharedPtr< Chaos::Softs::FExternalForces > | BuoyancyField.h | ||
| LocalSpaceLocation | FSolverVec3 | BuoyancyField.h | ||
| LocalSpaceScale | FSolverReal | BuoyancyField.h | ||
| QuarterWaterRho | FSolverReal | BuoyancyField.h | ||
| WaterBodyCollisions | FBuoyancyCollisionData | BuoyancyField.h | ||
| WaterDensity | FSolverReal | BuoyancyField.h | ||
| WaterRho | FSolverReal | BuoyancyField.h | ||
| WaterTurbulenceRatio | FSolverReal | BuoyancyField.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Apply
(
Chaos::Softs::FSolverParticlesRange& InParticles, |
BuoyancyField.h | ||
void PreSimulate_GameThread
(
float DeltaTime, |
BuoyancyField.h | ||
void SetPropertiesAndBuoyancy
(
const Chaos::Softs::FCollectionPropertyConstFacade& PropertyCollection, |
BuoyancyField.h | ||
UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME
(
ClothDensityInWater |
BuoyancyField.h | ||
UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME
(
WaterDensity |
BuoyancyField.h | ||
UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME
(
WaterTurbulenceRatio |
BuoyancyField.h |