Navigation
API > API/Plugins > API/Plugins/Buoyancy > API/Plugins/Buoyancy/FBuoyancyParticleData
Syntax
TSparseArray < FBuoyancyInteractionArray > Interactions
Remarks
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. Each will be a very small array, sorted by Z.
We use inline allocator to avoid more heap allocations, and to express the assumption that a single particle is unlikely to exceed interactions with a certain number of waterbodies at a time.