|
Matrix4x4CreateScale Method (Vector3, Vector3)
|
Creates a scaling matrix with a center point.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Matrix4x4 CreateScale(
Vector3 scales,
Vector3 centerPoint
)
Public Shared Function CreateScale (
scales As Vector3,
centerPoint As Vector3
) As Matrix4x4
public:
static Matrix4x4 CreateScale(
Vector3 scales,
Vector3 centerPoint
)
static member CreateScale :
scales : Vector3 *
centerPoint : Vector3 -> Matrix4x4
Parameters
- scales
- Type: Karamba.GeometryVector3
The vector containing the amount to scale by on each axis. - centerPoint
- Type: Karamba.GeometryVector3
The center point.
Return Value
Type:
Matrix4x4The scaling matrix.
See Also