LightingTests StaticLight Method Delta Engine Documentation

Namespace: DeltaEngine.Rendering3D.Tests
Assembly: DeltaEngine.Rendering3D.Tests (in DeltaEngine.Rendering3D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void StaticLight()
Examples

[Test, ApproveFirstFrameScreenshot]
public void StaticLight()
{
    Camera.Current.Position = new Vector3D(0.0f, 4.0f, 2.0f);
    SunLight.Current = new SunLight(new Vector3D(1.0f, 0.0f, -1.0f), Color.Red);
    new RotatingBox(new Vector3D(-2.0f, 0.0f, 0.0f));
    new Box(Vector3D.Zero);
    new RotatingBox(new Vector3D(2.0f, 0.0f, 0.0f));
}
See Also