Particle3DEmitterTests DisposingTwiceDoesNotError Method Delta Engine Documentation

Namespace: DeltaEngine.Rendering3D.Particles.Tests
Assembly: DeltaEngine.Rendering3D.Particles.Tests (in DeltaEngine.Rendering3D.Particles.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void DisposingTwiceDoesNotError()
Examples

[Test, CloseAfterFirstFrame]
public void DisposingTwiceDoesNotError()
{
    var emitter = new ParticleEmitter(GetEmitterData(spark, 512), Vector3D.Zero);
    emitter.DisposeAfterSeconds(1);
    emitter.DisposeAfterSeconds(1);
}
See Also