Dela via


DistantLight.Direction Property

Definition

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

Vector3 Vector3

float3

The direction in which the light is cast.

Remarks

DistantLight.Direction is relative to DistantLight.CoordinateSpace

Applies to

See also