Share via


MatrixStack Class (Microsoft.DirectX)

Contains methods and properties that applications use to manipulate a matrix stack.

Definition

Visual Basic Public Class MatrixStack
    Inherits MarshalByRefObjectLeave Site
    Implements IDisposableLeave Site
C# public class MatrixStack : MarshalByRefObjectLeave Site, IDisposableLeave Site
C++ public ref class MatrixStack : MarshalByRefObjectLeave Site, IDisposableLeave Site
JScript public class MatrixStack extends MarshalByRefObjectLeave Site implements IDisposableLeave Site

Members Table

The following table lists the members exposed by the object.

Events

Event Description
Disposing Occurs when the Dispose method is called or when the object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime.

Methods

Method Description
Dispose Immediately releases the unmanaged resources used by an object.
Finalize Called during garbage collection. If implemented, allows an object to free resources before it is destroyed by the garbage collector.
LoadIdentity Loads identity in the current matrix.
LoadMatrix Loads a given matrix into the current matrix.
MatrixStack Initializes a new instance of the MatrixStack class.
MultiplyMatrix Determines the product of the current matrix and a given matrix.
MultiplyMatrixLocal Determines the product of a given matrix and the current matrix.
Pop Removes the current matrix from the top of the stack.
Push Adds a matrix to the stack.
raise_Disposing Raises a MatrixStack.Disposing event when called from within a derived class.
RotateAxis Determines the product of the current matrix and the computed rotation matrix.
RotateAxisLocal Determines the product of the current matrix and the computed rotation matrix.
RotateYawPitchRoll Determines the product of the current matrix and the computed rotation matrix, which is composed of a given yaw, pitch, and roll.
RotateYawPitchRollLocal Determines the product of the current matrix and the computed rotation matrix, which is composed of a given yaw, pitch, and roll.
Scale Determines the product of the current matrix and the computed scale matrix composed from the given point (x, y, and z).
ScaleLocal Determines the product of the computed scale matrix composed from the given point (x, y, and z) and the current matrix.
Translate Determines the product of the current matrix and the computed translation matrix by the given factors (x, y, and z).
TranslateLocal Determines the product of the computed translation matrix by the given factors (x, y, and z) and the current matrix.

Properties

Property Description
Disposed Retrieves a value that is true if the object is disposed; otherwise the value is false.
Top Retrieves the current matrix at the top of the stack.

Inheritance Hierarchy

ObjectLeave Site

MarshalByRefObjectLeave Site

MatrixStack

Class Information

Namespace Microsoft.DirectX
Assembly Microsoft.DirectX (microsoft.directx.dll)
Strong Name Microsoft.DirectX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492