SpotLight.Direction Property
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);
C#
public Vector3 Direction { get; set; }
var vector3 = spotLight.direction;
spotLight.direction = vector3;
Public Property Direction As Vector3
The direction in which the light is pointing, specified relative to its coordinate space Visual.
C#
_spotLight.Direction = new Vector3(4, 10, 0);
SpotLight.Direction is relative to SpotLight.CoordinateSpace.
Продукт | Версії |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |