DistantLight.Direction Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The direction in which the light is pointing, specified relative to its CoordinateSpace Visual.
public:
property float3 Direction { float3 get(); void set(float3 value); };
float3 Direction();
void Direction(float3 value);
public Vector3 Direction { get; set; }
var vector3 = distantLight.direction;
distantLight.direction = vector3;
Public Property Direction As Vector3
Property Value
The direction in which the light is cast.
Remarks
DistantLight.Direction is relative to DistantLight.CoordinateSpace