Namespace: DeltaEngine.Rendering3D.Particles.Tests
Assembly: DeltaEngine.Rendering3D.Particles.Tests (in DeltaEngine.Rendering3D.Particles.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Rendering3D.Particles.Tests (in DeltaEngine.Rendering3D.Particles.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void SpawnParticlesInCertainPosition() { var emitter = new ParticleEmitter(GetEmitterData(logo), Vector3D.Zero); emitter.SpawnAtRelativePosition(Vector3D.One, 1); Assert.AreEqual(Vector3D.One, emitter.particles[0].Position); emitter.SpawnAtRelativePosition(Vector3D.UnitX); Assert.AreEqual(Vector3D.UnitX, emitter.particles[1].Position); }
See Also