|
Matrix3x2CreateScale Method (Vector2, Vector2)
|
Creates a scale matrix from the given vector scale with an offset from the given center point.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Matrix3x2 CreateScale(
Vector2 scales,
Vector2 centerPoint
)
Public Shared Function CreateScale (
scales As Vector2,
centerPoint As Vector2
) As Matrix3x2
public:
static Matrix3x2 CreateScale(
Vector2 scales,
Vector2 centerPoint
)
static member CreateScale :
scales : Vector2 *
centerPoint : Vector2 -> Matrix3x2
Parameters
- scales
- Type: Karamba.GeometryVector2
The scale to use. - centerPoint
- Type: Karamba.GeometryVector2
The center offset.
Return Value
Type:
Matrix3x2A scaling matrix.
See Also