Navigation
API > API/Plugins > API/Plugins/Buoyancy
References
| Module | Buoyancy |
| Header | /Engine/Plugins/Experimental/Buoyancy/Source/Runtime/Public/BuoyancyParticleData.h |
| Include | #include "BuoyancyParticleData.h" |
Syntax
struct FBuoyancyParticleData
Variables
| Type | Name | Description | |
|---|---|---|---|
| FHashTable | IndexMap | Bookkeeping arrays | |
| TSparseArray< FBuoyancyInteractionArray > | Interactions | Sparse array of arrays of buoyancy interactions - the outer array has one entry per particle, the inner array has an entry per water body that it interacts with. | |
| TSparseArray< FBuoyancySubmersionMetaData > | PrevSubmersionMetaData | ||
| TSparseArray< FBuoyancySubmersion > | PrevSubmersions | ||
| TSparseArray< int32 > | ReverseIndexMap | ||
| TSparseArray< TBitArray<> > | SubmergedShapes | This is a sparse array of bit arrays representing which shapes in an object have already been accounted for when submerging an object. | |
| TSparseArray< FBuoyancySubmersionMetaData > | SubmersionMetaData | Another sparse array to be kept in sync with Submersions, which will contain metadata useful for event callbacks | |
| TSparseArray< FBuoyancySubmersion > | Submersions | This sparse array of submersion events is indexed on particle unique indices. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|