Namespace: DeltaEngine.Rendering3D.Particles
Assembly: DeltaEngine.Rendering3D.Particles (in DeltaEngine.Rendering3D.Particles.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering3D.Particles.Tests.ParticleSystemTests
1 unit tests call DeltaEngine.Rendering3D.Particles.ParticleSystem.RemoveEmitter(System.Int32)
Assembly: DeltaEngine.Rendering3D.Particles (in DeltaEngine.Rendering3D.Particles.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- indexOfEmitter
- Type: System Int32
Remarks
Examples
[Test, CloseAfterFirstFrame] public void RemoveEmitterJustDeattaches() { var emitterAlpha = CreateAndAttachEmitter(Vector3D.Zero); var emitterBeta = CreateAndAttachEmitter(Vector3D.UnitY); particleSystem.RemoveEmitter(0); particleSystem.RemoveEmitter(emitterBeta); Assert.AreEqual(0, particleSystem.AttachedEmitters.Count); Assert.IsTrue(emitterAlpha.IsActive); Assert.IsTrue(emitterBeta.IsActive); }
See Also