Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DirectionalLight.cs
Go to the documentation of this file.
1 using SiliconStudio.Paradox.DataModel;
2 using SiliconStudio.Core.Mathematics;
3 using SiliconStudio.Paradox.Effects.Modules;
4 
5 namespace SiliconStudio.Paradox.Effects
6 {
7  public class DirectionalLight : Light
8  {
9  public DirectionalLight()
10  {
11  Parameters.SetDefault(LightKeys.LightDirection);
12  }
13 
14  /// <summary>
15  /// Gets or sets the light direction.
16  /// </summary>
17  /// <value>
18  /// The light direction.
19  /// </value>
20  public Vector3 LightDirection
21  {
22  get { return Parameters.Get(LightKeys.LightDirection); }
23  set { Parameters.Set(LightKeys.LightDirection, value); }
24  }
25  }
26 }
Represents a three dimensional mathematical vector.
Definition: Vector3.cs:42