| Matrix22FCreateScale Method (Single) |
Creates a uniform scaling matrix.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Matrix22F CreateScale(
float scale
)
Public Shared Function CreateScale (
scale As Single
) As Matrix22F
public:
static Matrix22F CreateScale(
float scale
)
static member CreateScale :
scale : float32 -> Matrix22F
Parameters
- scale
- Type: SystemSingle
The uniform scale factor that is applied to the x- and y-axis.
Return Value
Type:
Matrix22FThe created scaling matrix.
See Also