Dela via


SpotLight.Offset Property

Definition

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

Vector3 Vector3

float3

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.

Applies to

See also