Search Results for

    Show / Hide Table of Contents

    Class BurstSpawn

    Spawn based by rate.

    Inheritance
    object
    BaseSpawn
    BaseSpawn<SpawnBurstDescription>
    BurstSpawn
    Inherited Members
    BaseSpawn<SpawnBurstDescription>.Description
    BaseSpawn.firstEmit
    BaseSpawn.Reset()
    BaseSpawn.CreateFromDescription(SpawnDescription)
    Namespace: Evergine.Framework.Particles.Spawn
    Assembly: Evergine.Framework.dll
    Syntax
    public class BurstSpawn : BaseSpawn<SpawnBurstDescription>

    Constructors

    BurstSpawn(SpawnBurstDescription)

    Initializes a new instance of the BurstSpawn class.

    Declaration
    public BurstSpawn(SpawnBurstDescription description)
    Parameters
    Type Name Description
    SpawnBurstDescription description

    The description of the spawn.

    Methods

    SpawnParticles(TimeSpan, EmitterSimulator)

    Method that decides how many particles are being spawned.

    Declaration
    public override uint SpawnParticles(TimeSpan ellapsedTime, EmitterSimulator emitter)
    Parameters
    Type Name Description
    TimeSpan ellapsedTime

    The ellapsed time.

    EmitterSimulator emitter

    The emitter simulator.

    Returns
    Type Description
    uint

    The number of new particles.

    Overrides
    BaseSpawn.SpawnParticles(TimeSpan, EmitterSimulator)

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX