SpotLight.Direction Property

Definition

The direction in which the light is pointing, specified relative to its CoordinateSpace Visual.

C#
public Vector3 Direction { get; set; }

Property Value

Vector3

The direction in which the light is pointing, specified relative to its coordinate space Visual.

Examples

C#
_spotLight.Direction = new Vector3(4, 10, 0); 

Remarks

SpotLight.Direction is relative to SpotLight.CoordinateSpace.

Applies to

Продукт Версії
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also