RealTimeSince LastWaterEffect { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The LastWaterEffect property of the PhysicsBody class represents the time elapsed since the last water splash effect was triggered. This property is primarily used internally within the physics system to manage and optimize water-related effects on physics bodies.

Usage

While the LastWaterEffect property is publicly accessible, it is intended for internal use within the physics system. It is not typically manipulated directly by developers. Instead, it serves as a reference for the system to determine when to trigger water splash effects based on the time elapsed since the last effect.

Example

// Example of accessing the LastWaterEffect property
PhysicsBody physicsBody = new PhysicsBody();
RealTimeSince timeSinceLastEffect = physicsBody.LastWaterEffect;

// Note: Direct manipulation of this property is not recommended as it is used internally.