Navigation
API > API/Plugins > API/Plugins/Buoyancy
NOTE: The Presimulate option is only needed for proper registry with the solver. We don't actually need (or want!) a presimulate tick.
| Name | FBuoyancySubsystemSimCallback |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Buoyancy/Source/Runtime/Public/BuoyancySubsystem.h |
| Include Path | #include "BuoyancySubsystem.h" |
Syntax
class FBuoyancySubsystemSimCallback : public Chaos::TSimCallbackObject< FBuoyancySubsystemSimCallbackInput, FBuoyancySubsystemSimCallbackOutput, Chaos::ESimCallbackOptions::PresimulateChaos::ESimCallbackOptions::MidPhaseModification >
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllocatedSize | SIZE_T | BuoyancySubsystem.h | ||
| BuoyancyParticleData | FBuoyancyParticleData | BuoyancySubsystem.h | ||
| BuoyancySettings | TUniquePtr< FBuoyancySettings > | Initially we won't have any settings - they have to get passed down via async input. | BuoyancySubsystem.h | |
| NetMode | ENetMode | Used to track the net mode of the world that owns the phys scene that this sim tick is taking place in. | BuoyancySubsystem.h | |
| SplineData | FBuoyancyWaterSplineDataManager * | Reference to UserDataPT sim callback which manages synchronization of water spline data | BuoyancySubsystem.h | |
| SplineKeyCache | FSplineKeyCacheGrid | Local cache of spline keys to reduce spline evaluations. | BuoyancySubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SIZE_T GetAllocatedSize() |
BuoyancySubsystem.h | ||
FSplineKeyCacheGrid & GetSplineKeyCache() |
BuoyancySubsystem.h | ||
bool QuerySpline
(
const FVector& QueryPos, |
BuoyancySubsystem.h |