struct ParticleDepthCollisionSettings

Controls depth buffer collisions for GPU simulated particles.

Public

Constructors

ParticleDepthCollisionSettings

ParticleDepthCollisionSettings() = default

Methods

staticGetRttiStatic

static RTTIType *GetRttiStatic()

GetRtti

RTTIType *GetRtti() const override

Returns an interface you can use to access class' Run Time Type Information.

Fields

Enabled

bool Enabled

Determines if depth collisions are enabled.

Restitution

float Restitution

Determines the elasticity (bounciness) of the particle collision.

Lower values make the collision less bouncy and higher values more.

Dampening

float Dampening

Determines how much velocity should a particle lose after a collision, in percent of its current velocity.

In range [0, 1].

RadiusScale

float RadiusScale

Scale which to apply to particle size in order to determine the collision radius.