DirectionalLight.Direction Property


Represents the vector along which the light's effect will be seen on models in a 3-D scene.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public Vector3D Direction { get; set; }

Property Value

Type: System.Windows.Media.Media3D.Vector3D

Vector3D along which the light projects, and which must have a non-zero magnitude. The default value is (0,0,-1).

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Return to top