Navigation
API > API/Plugins > API/Plugins/Buoyancy
References
| Module | Buoyancy |
| Header | /Engine/Plugins/Experimental/Buoyancy/Source/Runtime/Public/BuoyancyEventInterface.h |
| Include | #include "BuoyancyEventInterface.h" |
Syntax
class IBuoyancyEventInterface
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnSurfaceTouchBegin
(
AWaterBody* WaterBodyActor, |
Called when part of a submerged simulated actor first comes in contact with a water surface. | |
| void | OnSurfaceTouchBegin_Native
(
UPrimitiveComponent* WaterComponent, |
Called when part of a submerged simulated actor first comes in contact with a water surface. | |
| void | OnSurfaceTouchEnd
(
AWaterBody* WaterBodyActor, |
Called when a submerged body loses contact with all water surfaces. | |
| void | OnSurfaceTouchEnd_Native
(
UPrimitiveComponent* WaterComponent, |
Called when a submerged body loses contact with all water surfaces. | |
| void | OnSurfaceTouching
(
AWaterBody* WaterBodyActor, |
Called continually while objects maintain contact with a water surface. | |
| void | OnSurfaceTouching_Native
(
UPrimitiveComponent* WaterComponent, |
Called continually while objects maintain contact with a water surface. |