MatrixStack.Scale Method |
Language: |
Determines the product of the current matrix and the computed scale matrix composed from the given point (x, y, and z).
Visual Basic Public Sub Scale( _
ByVal scale As Vector3 _
)C# public void Scale(
Vector3 scale
);C++ public:
void Scale(
Vector3 scale
);JScript public function Scale(
scale : Vector3
);
scale Microsoft.DirectX.Vector3
A Vector3 object that represents the scale values to use in the calculation.
This method right-multiplies the current matrix by the computed scale matrix. The transformation is about the current world origin.
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