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 EscapeEmitterGivesCylinderWithDifferingZ() { var emitterData = GetEmitterData(logo); emitterData.PositionType = ParticleEmitterPositionType.CircleEscaping; emitterData.StartPosition = new RangeGraph<Vector3D>(new Vector3D(-0.5f, -0.5f, 0.0f), new Vector3D(0.5f, 0.5f, 0.5f)); var emitter = new ParticleEmitter(emitterData, Vector3D.Zero); emitter.Position = -0.2f * Vector3D.UnitZ; emitter.Rotation = Quaternion.FromAxisAngle(Vector3D.UnitY, -10); }
See Also