Table of Contents

Class ParticleSpawnTriggerDeath

Namespace
Stride.Particles.Spawners
Assembly
Stride.Particles.dll

ParticleSpawnTriggerDeath triggers when the parent particle dies

[DataContract("ParticleSpawnTriggerDeath")]
[Display("On Death", null)]
public class ParticleSpawnTriggerDeath : ParticleSpawnTrigger<float>
Inheritance
ParticleSpawnTriggerDeath
Inherited Members

Methods

HasTriggered(Particle)

For positive values, shows if the condition was met and how much is the magnitude

public override float HasTriggered(Particle parentParticle)

Parameters

parentParticle Particle

Parent particle which attributes are used for testing

Returns

float

0f if it hasn't triggered, positive value otherwise, which also indicates the magnitude of the trigger

PrepareFromPool(ParticlePool)

Prepares fields accessors before the

public override void PrepareFromPool(ParticlePool pool)

Parameters

pool ParticlePool