Matrix4x4CreateScale(Double, Double, Double, Vector3) Method
Creates a scaling matrix with a center point.
Namespace: Karamba.GeometryAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
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
- xScale Double
- Value to scale by on the X-axis.
- yScale Double
- Value to scale by on the Y-axis.
- zScale Double
- Value to scale by on the Z-axis.
- centerPoint Vector3
- The center point.
Matrix4x4The scaling matrix.