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 SpawnParticlesWithCertainRotation() { var emitter = new ParticleEmitter(GetEmitterData(logo), Vector3D.Zero); emitter.SpawnAtRelativePositionAndRotation(Vector3D.One, 0.5f, 1); Assert.AreEqual(Vector3D.One, emitter.particles[0].Position); emitter.SpawnAtRelativePositionAndRotation(Vector3D.UnitX, 0.5f); Assert.AreEqual(Vector3D.UnitX, emitter.particles[1].Position); }
See Also