Optionalmode: EnumValue<ParticleCollisionMode, number>Optionalrestitution: numberOptionaldampening: numberOptionallifetimeLoss: numberOptionalradius: numberOptionallayer: rsx.LayerMaskProtected_dampeningProtected_layerProtected_lifetimeProtected_modeProtected_radiusProtected_restitutionDetermines how much velocity should a particle lose after a collision, in percent of its current velocity. In range [0, 1].
Determines how much should the particle lifetime be reduced after a collision, in percent of its original lifetime. In range [0, 1].
Collision mode determining with which geometry the particles will interact with.
Radius scale for particles used for collision.
Determines the elasticity (bounciness) of the particle collision. Lower values make the collision less bouncy and higher values more.
Copies all properties defined by the prototype of ParticleCollisionsOptions from other to this instance.
Clones this instance and returns a new ParticleCollisionsOptions with identical values.
Determines if this ParticleCollisionsOptions instance is equal to the other instance.
StaticisDetermines if both ParticleCollisionsOptions instances are equal.
Structure used for initializing a ParticleCollisions object.