[]
        
(Showing Draft Content)

C1.Util.DX.Matrix4x4.ScaleRef

ScaleRef Method

ScaleRef(out Matrix4x4, float)

Creates a matrix that uniformally scales along all three axis.

Declaration
public static void ScaleRef(out Matrix4x4 result, float scale)
Public Shared Sub ScaleRef(ByRef result As Matrix4x4, scale As Single)
Parameters
Type Name Description
Matrix4x4 result

When the method completes, contains the created scaling matrix.

float scale

The uniform scale that is applied along all axis.

ScaleRef(out Matrix4x4, float, float, float)

Creates a matrix that scales along the x-axis, y-axis, and y-axis.

Declaration
public static void ScaleRef(out Matrix4x4 result, float xScale, float yScale, float zScale)
Public Shared Sub ScaleRef(ByRef result As Matrix4x4, xScale As Single, yScale As Single, zScale As Single)
Parameters
Type Name Description
Matrix4x4 result

When the method completes, contains the created scaling matrix.

float xScale

Scaling factor that is applied along the x-axis.

float yScale

Scaling factor that is applied along the y-axis.

float zScale

Scaling factor that is applied along the z-axis.

ScaleRef(out Matrix4x4, ref Vector3)

Creates a matrix that scales along the x-axis, y-axis, and y-axis.

Declaration
public static void ScaleRef(out Matrix4x4 result, ref Vector3 scale)
Public Shared Sub ScaleRef(ByRef result As Matrix4x4, ByRef scale As Vector3)
Parameters
Type Name Description
Matrix4x4 result

When the method completes, contains the created scaling matrix.

Vector3 scale

Scaling factor for all three axes.