Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    SpawnerState Enum

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

    public enum SpawnerState : byte

    Fields

    Name Description
    Active

    A spawner in Active state emits particles. After the Active state expires, the spawner can switch to Rest, Active or Dead state depending on its looping condition.

    Dead

    A spawner in Dead state is not emitting particles and likely not switching to Rest or Active anymore.

    Inactive

    A spawner in Inactive state hasn't been updated yet. Upon constructing, the Spawner is Inactive, but can't return to this state anymore

    Rest

    A spawner starts in Rest state and stays in this state for as long as it is delayed. While in Rest state it doesn't emit particles and switches to Active state after the Rest state is over

    Extension Methods

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

    Back to top

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