DirectionalLight.Direction Property

Gets or sets the light direction. This value must be a unit vector.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

public Vector3 Direction { get; set; }

Property Value

The light direction.

See Also

Reference

DirectionalLight Class
DirectionalLight Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP