Class ParticlePhysicsExtensions
Inheritance
ParticlePhysicsExtensions
Assembly: UnityEngine.dll
Syntax
public static class ParticlePhysicsExtensions
Methods
|
Improve this Doc
View Source
GetCollisionEvents(ParticleSystem, GameObject, List<ParticleCollisionEvent>)
Declaration
public static int GetCollisionEvents(this ParticleSystem ps, GameObject go, List<ParticleCollisionEvent> collisionEvents)
Parameters
Returns
|
Improve this Doc
View Source
GetCollisionEvents(ParticleSystem, GameObject, ParticleCollisionEvent[])
Declaration
[Obsolete("GetCollisionEvents function using ParticleCollisionEvent[] is deprecated. Use List<ParticleCollisionEvent> instead.", false)]
public static int GetCollisionEvents(this ParticleSystem ps, GameObject go, ParticleCollisionEvent[] collisionEvents)
Parameters
Returns
|
Improve this Doc
View Source
GetSafeCollisionEventSize(ParticleSystem)
Declaration
public static int GetSafeCollisionEventSize(this ParticleSystem ps)
Parameters
Returns
|
Improve this Doc
View Source
GetSafeTriggerParticlesSize(ParticleSystem, ParticleSystemTriggerEventType)
Declaration
public static int GetSafeTriggerParticlesSize(this ParticleSystem ps, ParticleSystemTriggerEventType type)
Parameters
Returns
|
Improve this Doc
View Source
GetTriggerParticles(ParticleSystem, ParticleSystemTriggerEventType, List<ParticleSystem.Particle>)
Declaration
public static int GetTriggerParticles(this ParticleSystem ps, ParticleSystemTriggerEventType type, List<ParticleSystem.Particle> particles)
Parameters
Returns
|
Improve this Doc
View Source
SetTriggerParticles(ParticleSystem, ParticleSystemTriggerEventType, List<ParticleSystem.Particle>)
Declaration
public static void SetTriggerParticles(this ParticleSystem ps, ParticleSystemTriggerEventType type, List<ParticleSystem.Particle> particles)
Parameters
|
Improve this Doc
View Source
SetTriggerParticles(ParticleSystem, ParticleSystemTriggerEventType, List<ParticleSystem.Particle>, Int32, Int32)
Declaration
public static void SetTriggerParticles(this ParticleSystem ps, ParticleSystemTriggerEventType type, List<ParticleSystem.Particle> particles, int offset, int count)
Parameters