Aracılığıyla paylaş


CompositionClip.RotationAngleInDegrees Property

Definition

The angle of rotation applied to the clip, in degrees.

public:
 property float RotationAngleInDegrees { float get(); void set(float value); };
float RotationAngleInDegrees();

void RotationAngleInDegrees(float value);
public float RotationAngleInDegrees { get; set; }
var single = compositionClip.rotationAngleInDegrees;
compositionClip.rotationAngleInDegrees = single;
Public Property RotationAngleInDegrees As Single

Property Value

Single

float

The angle of rotation applied to the clip, in degrees. For a CompositionClip, the axis of rotation is always about the z-axis, with positive RotationAngleInDegrees values resulting in a clockwise rotation and negative values resulting in a counter-clockwise rotation. For specifying RotationAngle in radians, use CompositionClip.RotationAngle. If both CompositionClip.RotationAngle and CompositionClip.RotationAngleInDegrees are set on the same CompositionClip object, whichever value is set last will override the other value.

By default, the RotationAngleInDegrees value on a clip is (0, 0).

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to

See also