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:
property Vector3D Direction {
	Vector3D get();
	void set(Vector3D value);
}

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

DirectionProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: