CompositionClip.RotationAngle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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).