Jaa


CompositionClip.RotationAngle Property

Definition

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

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

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

Property Value

Single

float

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

By default, the RotationAngle 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