SunLight ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  DeltaEngine.Content SunLight

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

public class SunLight

The SunLight type exposes the following members.

Constructors

  NameDescription
Public methodSunLight
Initializes a new instance of the SunLight class
Top
Properties

  NameDescription
Public propertyColor
Public propertyStatic memberCurrent
Public propertyDirection
Top
Remarks

Tests: DeltaEngine.Tests.Content.SunLightTests
Examples

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