SunLight Direction Property Delta Engine Documentation

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

public Vector3D Direction { get; set; }

Property Value

Type: Vector3D
Remarks

Tests: DeltaEngine.Tests.Content.SunLightTests
Examples

1 unit tests call DeltaEngine.Content.SunLight.Direction
[Test]
public void CreateSunLight()
{
    SunLight.Current = new SunLight(Vector3D.UnitZ, Color.White);
    Assert.AreEqual(Vector3D.UnitZ, SunLight.Current.Direction);
}
See Also