IDCompositionMatrixTransform3D interface
Represents an arbitrary 3D transformation defined by a 4-by-4 matrix.
When to implement
Client applications do not implement IDCompositionMatrixTransform3D; custom implementations are not supported.
When to use
All 3D transform effects in DirectComposition can be represented by a 4-by-4 matrix. Use the IDCompositionMatrixTransform3D interface when you need a type of 3D transformation matrix that is not already implemented by one of the other DirectComposition 3D transform interfaces. Generally, it is slightly more efficient to use the other interfaces. For example, always use the IDCompositionTranslateTransform3D interface to define a 3D translation matrix instead of the IDCompositionMatrixTransform3D interface.
Members
The IDCompositionMatrixTransform3D interface inherits from IDCompositionTransform3D. IDCompositionMatrixTransform3D also has these types of members:
Methods
The IDCompositionMatrixTransform3D interface has these methods.
| Method | Description |
|---|---|
| SetMatrix |
Changes all values of the matrix of this 3D transformation effect. |
| SetMatrixElement | Overloaded. Changes or animates the value of one element of the matrix of this 3D transform. |
Remarks
A 3D matrix transform represents the following 4-by-4 matrix:

The application can set any of the values in the first three columns. Note that the fourth column is padded to allow for matrix concatenation.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also