CompositionClip.RotationAngle CompositionClip.RotationAngle CompositionClip.RotationAngle CompositionClip.RotationAngle Property

Definition

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

public : float RotationAngle { get; set; }
float RotationAngle();

void RotationAngle(float rotationangle);
public float RotationAngle { get; set; }
Public ReadWrite Property RotationAngle As float

Property Value

float 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).

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

See also