Navigation
API > API/Plugins > API/Plugins/Buoyancy
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool BuoyancyAlgorithms::ComputeSubmergedVolume
(
FBuoyancyParticleData& ParticleData, |
Compute an approximate volume and center of mass of particle B submerged in particle A. | BuoyancyAlgorithms.h | |
bool BuoyancyAlgorithms::ComputeSubmergedVolume
(
FBuoyancyParticleData& ParticleData, |
Compute an approximate volume and center of mass of particle B submerged in particle A, adjusting for the volume of the object based on the material density and mass of the object | BuoyancyAlgorithms.h |
BuoyancyAlgorithms::ComputeSubmergedVolume(FBuoyancyParticleData &, const Chaos::FGeometryParticleHandle , const Chaos::FGeometryParticleHandle , int32, float, float &, Chaos::FVec3 &)
Description
Compute an approximate volume and center of mass of particle B submerged in particle A.
| Name | BuoyancyAlgorithms::ComputeSubmergedVolume |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Buoyancy/Source/Runtime/Public/BuoyancyAlgorithms.h |
| Include Path | #include "BuoyancyAlgorithms.h" |
namespace BuoyancyAlgorithms
{
bool BuoyancyAlgorithms::ComputeSubmergedVolume
(
FBuoyancyParticleData & ParticleData,
const Chaos::FGeometryParticleHandle * ParticleA,
const Chaos::FGeometryParticleHandle * ParticleB,
int32 NumSubdivisions,
float MinVolume,
float & SubmergedVol,
Chaos::FVec3 & SubmergedCoM
)
}
BuoyancyAlgorithms::ComputeSubmergedVolume(FBuoyancyParticleData &, const Chaos::FPBDRigidsEvolutionGBF &, const Chaos::FGeometryParticleHandle , const Chaos::FGeometryParticleHandle , int32, float, float &, Chaos::FVec3 &, float &)
Description
Compute an approximate volume and center of mass of particle B submerged in particle A, adjusting for the volume of the object based on the material density and mass of the object
| Name | BuoyancyAlgorithms::ComputeSubmergedVolume |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Buoyancy/Source/Runtime/Public/BuoyancyAlgorithms.h |
| Include Path | #include "BuoyancyAlgorithms.h" |
namespace BuoyancyAlgorithms
{
bool BuoyancyAlgorithms::ComputeSubmergedVolume
(
FBuoyancyParticleData & ParticleData,
const Chaos::FPBDRigidsEvolutionGBF & Evolution,
const Chaos::FGeometryParticleHandle * ParticleA,
const Chaos::FGeometryParticleHandle * ParticleB,
int32 NumSubdivisions,
float MinVolume,
float & SubmergedVol,
Chaos::FVec3 & SubmergedCoM,
float & TotalVol
)
}