MatrixStack.LoadMatrix Method

Language:

Loads a given matrix into the current matrix.

Definition

Visual Basic Public Sub LoadMatrix( _
    ByVal value As Matrix _
)
C# public void LoadMatrix(
    Matrix value
);
C++ public:
void LoadMatrix(
    Matrix value
);
JScript public function LoadMatrix(
    value : Matrix
);

Parameters

value Microsoft.DirectX.Matrix
New Matrix to load into the current matrix.

Remarks

This method does not add an item to the stack; rather, it replaces the current matrix with the supplied matrix.

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center