|
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
)
Public Shared Function CreateScale (
xScale As Double,
yScale As Double,
zScale As Double,
centerPoint As Vector3
) As Matrix4x4
public:
static Matrix4x4 CreateScale(
double xScale,
double yScale,
double zScale,
Vector3 centerPoint
)
static member CreateScale :
xScale : float *
yScale : float *
zScale : float *
centerPoint : Vector3 -> Matrix4x4
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:
Matrix4x4The scaling matrix.
See Also