IDCompositionDevice::CreateRotateTransform3D method
Creates a 3D rotation transform object.
Syntax
HRESULT CreateRotateTransform3D( [out] IDCompositionRotateTransform3D **rotateTransform3D );
Parameters
- rotateTransform3D [out]
-
Type: IDCompositionRotateTransform3D**
The new 3D rotation transform object. This parameter must not be NULL.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See DirectComposition Error Codes for a list of error codes.
Remarks
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.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also