![]() |
![]() |
![]() |
MatrixStack.LoadMatrix Method |
Language: |
Loads a given matrix into the current matrix.
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
);
value Microsoft.DirectX.Matrix
New Matrix to load into the current matrix.
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.
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