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