ParticleSpawnTriggerCollision Class
Namespace: Stride.Particles.SpawnersAssembly: Stride.Particles.dll
ParticleSpawnTriggerCollision triggers when the parent particle collides with a surface
System.Object → ParticleSpawnTrigger → ParticleSpawnTrigger<ParticleCollisionAttribute> →
ParticleSpawnTriggerCollision
Derived from ParticleSpawnTriggerCollision:
[DataContract("ParticleSpawnTriggerCollision")]
[Display("On Hit", null)]
public class ParticleSpawnTriggerCollision : ParticleSpawnTrigger<ParticleCollisionAttribute>
Name | Description | |
---|---|---|
Methods | ||
HasTriggered(Particle) | ||
PrepareFromPool(ParticlePool) |
Methods
HasTriggered(Particle)
public override float HasTriggered(Particle parentParticle)
Parameters
Type | Name | Description |
---|---|---|
Particle | parentParticle |
Returns
Type | Description |
---|---|
System.Single |
Overrides
PrepareFromPool(ParticlePool)
public override void PrepareFromPool(ParticlePool pool)
Parameters
Type | Name | Description |
---|---|---|
ParticlePool | pool |