Navigation
API > API/Plugins > API/Plugins/WaterAdvanced
CollisionTracker that records the actor affecting the waterbody, used by logs or fishing lures etc., where the collision is handled by Niagara Data Channel and the subsystem isn't aware of them without a tracking device. This is intended as a solution.
| Name | FShallowWaterCollisionTracker_Actor |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/WaterAdvanced/Source/WaterAdvanced/Public/ShallowWaterSubsystem.h |
| Include Path | #include "ShallowWaterSubsystem.h" |
Syntax
struct FShallowWaterCollisionTracker_Actor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ShallowWaterSubsystem.h | |||
FShallowWaterCollisionTracker_Actor
(
float InTimeSpawned, |
ShallowWaterSubsystem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CollisionActor | TWeakObjectPtr< AActor > | ShallowWaterSubsystem.h | ||
| Lifespan | float | ShallowWaterSubsystem.h | ||
| TimeSpawned | float | ShallowWaterSubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetOverlappingWaterBodies
(
TSet< AWaterBody* >& WaterBodies |
ShallowWaterSubsystem.h | ||
bool IsValid
(
const float CurrentTime |
ShallowWaterSubsystem.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FShallowWaterCollisionTracker_Actor& Other |
ShallowWaterSubsystem.h |