SpotLight.Offset Eigenschaft

Definition

Offset der Lichtquelle relativ zum zugehörigen 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

Eigenschaftswert

Vector3 Vector3

float3

Offset der Lichtquelle relativ zum Koordinatenraum Visual.

Beispiele

_spotLight.Offset = new Vector3(30, 30, 200);  

Hinweise

SpotLight.Offset ist relativ zu SpotLight.CoordinateSpace.

Gilt für:

Weitere Informationen