|
Matrix4x4CreateScale Method (Double, Vector3)
|
Creates a uniform scaling matrix that scales equally on each axis 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(
double scale,
Vector3 centerPoint
)
Public Shared Function CreateScale (
scale As Double,
centerPoint As Vector3
) As Matrix4x4
public:
static Matrix4x4 CreateScale(
double scale,
Vector3 centerPoint
)
static member CreateScale :
scale : float *
centerPoint : Vector3 -> Matrix4x4
Parameters
- scale
- Type: SystemDouble
The uniform scaling factor. - centerPoint
- Type: Karamba.GeometryVector3
The center point.
Return Value
Type:
Matrix4x4The scaling matrix.
See Also