Table of Contents

Class ParticleSpawnTriggerBirth

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

ParticleSpawnTriggerBirth triggers when the parent particle is first spawned

[DataContract("ParticleSpawnTriggerBirth")]
[Display("On Birth", null)]
public class ParticleSpawnTriggerBirth : ParticleSpawnTrigger<float>
Inheritance
ParticleSpawnTriggerBirth
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