Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ParticleSpawnTriggerBirth Class

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

    ParticleSpawnTriggerBirth triggers when the parent particle is first spawned

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

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