Click or drag to resize

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
)

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: Matrix4x4
The scaling matrix.
See Also