IDCompositionRotateTransform3D interface (dcomp.h)

Represents a 3D transformation that affects the rotation of a visual along an arbitrary axis in 3D space. The coordinate system is rotated around the specified center point.

Inheritance

The IDCompositionRotateTransform3D interface inherits from IDCompositionTransform3D. IDCompositionRotateTransform3D also has these types of members:

Methods

The IDCompositionRotateTransform3D interface has these methods.

 
IDCompositionRotateTransform3D::SetAngle

Changes the value of the Angle property of a 3D rotation transform. The Angle property specifies the rotation angle. The default value is zero.
IDCompositionRotateTransform3D::SetAngle

Animates the value of the Angle property of a 3D rotation transform. The Angle property specifies the rotation angle. The default value is zero.
IDCompositionRotateTransform3D::SetAxisX

Changes the value of the AxisX property of a 3D rotation transform. The AxisX property specifies the x-coordinate for the axis vector of rotation. The default value is zero.
IDCompositionRotateTransform3D::SetAxisX

Animates the value of the AxisX property of a 3D rotation transform. The AxisX property specifies the x-coordinate for the axis vector of rotation. The default value is zero.
IDCompositionRotateTransform3D::SetAxisY

Changes the value of the AxisY property of a 3D rotation transform. The AxisY property specifies the y-coordinate for the axis vector of rotation. The default value is zero.
IDCompositionRotateTransform3D::SetAxisY

Animates the value of the AxisY property of a 3D rotation transform. The AxisY property specifies the y-coordinate for the axis vector of rotation. The default value is zero.
IDCompositionRotateTransform3D::SetAxisZ

Changes the value of the AxisZ property of a 3D rotation transform. The AxisZ property specifies the z-coordinate for the axis vector of rotation. The default value is 1.0.
IDCompositionRotateTransform3D::SetAxisZ

Animates the value of the AxisZ property of a 3D rotation transform. The AxisZ property specifies the z-coordinate for the axis vector of rotation. The default value is 1.0.
IDCompositionRotateTransform3D::SetCenterX

Changes the value of the CenterX property of a 3D rotation transform. The CenterX property specifies the x-coordinate of the point about which the rotation is performed. The default value is zero.
IDCompositionRotateTransform3D::SetCenterX

Animates the value of the CenterX property of a 3D rotation transform. The CenterX property specifies the x-coordinate of the point about which the rotation is performed. The default value is zero.
IDCompositionRotateTransform3D::SetCenterY

Changes the value of the CenterY property of a 3D rotation transform. The CenterY property specifies the y-coordinate of the point about which the rotation is performed. The default value is zero.
IDCompositionRotateTransform3D::SetCenterY

Animates the value of the CenterY property of a 3D rotation transform. The CenterY property specifies the y-coordinate of the point about which the rotation is performed. The default value is zero.
IDCompositionRotateTransform3D::SetCenterZ

Changes the value of the CenterZ property of a 3D rotation transform. The CenterZ property specifies the z-coordinate of the point about which the rotation is performed. The default value is zero.
IDCompositionRotateTransform3D::SetCenterZ

Animates the value of the CenterZ property of a 3D rotation transform. The CenterZ property specifies the z-coordinate of the point about which the rotation is performed. The default value is zero.

Remarks

A 3D rotate transform represents the following 4-by-4 matrix:

Four-by-four 3D rotate transformation matrix

where the offsetX, offsetY, and offsetZ values of the matrix are the following:

Values of the four-by-four 3D rotate transformation matrix

The effect is to rotate the coordinate system clockwise or counter-clockwise around the specified axis, and to apply the corresponding translation such that the center point does not move.

A new 3D rotation transform object has a default static value of zero for the Angle, CenterX, CenterY, AxisX, and AxisY properties, and a default static value of 1.0 for the AxisZ property.

When setting the axis to a non-default value, you should always set all three axis properties (AxisX, AxisY, and AxisZ).

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header dcomp.h

See also

IDCompositionEffectGroup::SetTransform3D

IDCompositionTransform3D

IDCompositionVisual::SetEffect