Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ParticleSpawnTriggerDeath Class

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

    ParticleSpawnTriggerDeath triggers when the parent particle dies

    System.Object → ParticleSpawnTrigger → ParticleSpawnTrigger<System.Single> → ParticleSpawnTriggerDeath
    Derived from ParticleSpawnTriggerDeath:

    [DataContract("ParticleSpawnTriggerDeath")]
    [Display("On Death", null)]
    public class ParticleSpawnTriggerDeath : ParticleSpawnTrigger<float>
    Name Description
    Methods
    HasTriggered(Particle)
    PrepareFromPool(ParticlePool)
    | Improve this Doc View Source

    Methods


    HasTriggered(Particle)

    public override float HasTriggered(Particle parentParticle)
    Parameters
    Type Name Description
    Particle parentParticle
    Returns
    Type Description
    System.Single
    Overrides
    ParticleSpawnTrigger.HasTriggered(Particle)

    PrepareFromPool(ParticlePool)

    public override void PrepareFromPool(ParticlePool pool)
    Parameters
    Type Name Description
    ParticlePool pool
    Overrides
    ParticleSpawnTrigger.PrepareFromPool(ParticlePool)

    Inherited Members

    ParticleSpawnTrigger<Single>.FieldAccessor
    ParticleSpawnTrigger.AddRequiredParentFields(ParticleEmitter)
    ParticleSpawnTrigger.RemoveRequiredParentFields(ParticleEmitter)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation