struct in UnityEngine
/
Implemented in:UnityEngine.ParticleSystemModule
Script interface for the CollisionMmodule of a Particle System.
See Also: ParticleSystem, ParticleSystem.collision.
| bounce | How much force is applied to each particle after a collision. |
| bounceMultiplier | A multiplier for ParticleSystem.CollisionModule.bounce. |
| colliderForce | How much force is applied to a Collider when hit by particles from this Particle System. |
| collidesWith | Control which Layers this Particle System collides with. |
| dampen | How much speed does each particle lose after a collision. |
| dampenMultiplier | Change the dampen multiplier. |
| enabled | Specifies whether the CollisionModule is enabled or disabled. |
| enableDynamicColliders | Allow particles to collide with dynamic colliders when using world collision mode. |
| lifetimeLoss | How much a collision reduces a particle's lifetime. |
| lifetimeLossMultiplier | Change the lifetime loss multiplier. |
| maxCollisionShapes | The maximum number of collision shapes Unity considers for particle collisions. It ignores excess shapes. Terrains take priority. |
| maxKillSpeed | Kill particles whose speed goes above this threshold, after a collision. |
| minKillSpeed | Kill particles whose speed falls below this threshold, after a collision. |
| mode | Choose between 2D and 3D world collisions. |
| multiplyColliderForceByCollisionAngle | Specifies whether the physics system considers the collision angle when it applies forces from particles to Colliders. |
| multiplyColliderForceByParticleSize | Specifies whether the physics system considers particle sizes when it applies forces to Colliders. |
| multiplyColliderForceByParticleSpeed | Specifies whether the physics system considers particle speeds when it applies forces to Colliders. |
| planeCount | Shows the number of planes currently set as Colliders. |
| quality | Specifies the accuracy of particle collisions against colliders in the Scene. |
| radiusScale | A multiplier that Unity applies to the size of each particle before collisions are processed. |
| sendCollisionMessages | Send collision callback messages. |
| type | The type of particle collision to perform. |
| voxelSize | Size of voxels in the collision cache. |
| AddPlane | Adds a collision plane to use with this Particle System. |
| GetPlane | Get a collision plane associated with this Particle System. |
| RemovePlane | Removes a collision plane associated with this Particle System. |
| SetPlane | Set a collision plane to use with this Particle System. |