 | Matrix22FCreateScale Method (Vector2F) |
Creates a scaling matrix.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntaxpublic static Matrix22F CreateScale(
Vector2F scale
)
Public Shared Function CreateScale (
scale As Vector2F
) As Matrix22F
public:
static Matrix22F CreateScale(
Vector2F scale
)
static member CreateScale :
scale : Vector2F -> Matrix22F
Parameters
- scale
- Type: DigitalRune.Mathematics.AlgebraVector2F
Amounts to scale by the x, and y-axis.
Return Value
Type:
Matrix22FThe created scaling matrix.
See Also