SpotLight.Offset 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.
Offset of the light source relative to its CoordinateSpace Visual. Animatable.
public:
property float3 Offset { float3 get(); void set(float3 value); };
float3 Offset();
void Offset(float3 value);
public Vector3 Offset { get; set; }
var vector3 = spotLight.offset;
spotLight.offset = vector3;
Public Property Offset As Vector3
Property Value
Offset of the light source relative to its coordinate space Visual.
Examples
_spotLight.Offset = new Vector3(30, 30, 200);
Remarks
SpotLight.Offset is relative to SpotLight.CoordinateSpace.