Click or drag to resize

Matrix4x4CreateScale Method (Double, Double, Double, 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(
	double xScale,
	double yScale,
	double zScale,
	Vector3 centerPoint
)

Parameters

xScale
Type: SystemDouble
Value to scale by on the X-axis.
yScale
Type: SystemDouble
Value to scale by on the Y-axis.
zScale
Type: SystemDouble
Value to scale by on the Z-axis.
centerPoint
Type: Karamba.GeometryVector3
The center point.

Return Value

Type: Matrix4x4
The scaling matrix.
See Also