ID3DXMATRIXStack interface
Applications use the methods of the ID3DXMATRIXStack interface to manipulate a matrix stack.
Members
The ID3DXMATRIXStack interface inherits from the IUnknown interface. ID3DXMATRIXStack also has these types of members:
Methods
The ID3DXMATRIXStack interface has these methods.
Method | Description |
---|---|
GetTop | Retrieves the current matrix at the top of the stack. |
LoadIdentity | Loads identity in the current matrix. |
LoadMatrix | Loads the given matrix into the current matrix. |
MultMatrix | Determines the product of the current matrix and the given matrix. |
MultMatrixLocal | Determines the product of the given matrix and the current matrix. |
Pop | Removes the current matrix from the top of the stack. |
Push | Adds a matrix to the stack. |
RotateAxis | Rotates (relative to world coordinate space) around an arbitrary axis. |
RotateAxisLocal | Rotates (relative to the object's local coordinate space) around an arbitrary axis. |
RotateYawPitchRoll | Rotates (relative to world coordinate space) around an arbitrary axis. |
RotateYawPitchRollLocal | Rotates (relative to the object's local coordinate space) around an arbitrary axis. |
Scale | Scale the current matrix about the world coordinate origin. |
ScaleLocal | Scale the current matrix about the object origin. |
Translate | Determines the product of the current matrix and the computed translation matrix determined by the given factors (x, y, and z). |
TranslateLocal | Determines the product of the computed translation matrix determined by the given factors (x, y, and z) and the current matrix. |
Remarks
The ID3DXMATRIXStack interface is obtained by calling the D3DXCreateMatrixStack function.
The LPD3DXMATRIXSTACK type is defined as a pointer to the ID3DXMATRIXStack interface.
typedef interface ID3DXMATRIXStack ID3DXMATRIXStack;
typedef interface ID3DXMATRIXStack *LPD3DXMATRIXSTACK;
Requirements
Header |
|
Library |
|
See also