[]
Creates a matrix that uniformally scales along all three axis.
public static void ScaleRef(out Matrix4x4 result, float scale)
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. |
Creates a matrix that scales along the x-axis, y-axis, and y-axis.
public static void ScaleRef(out Matrix4x4 result, float xScale, float yScale, float zScale)
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. |
Creates a matrix that scales along the x-axis, y-axis, and y-axis.
public static void ScaleRef(out Matrix4x4 result, ref Vector3 scale)
Type | Name | Description |
---|---|---|
Matrix4x4 | result | When the method completes, contains the created scaling matrix. |
Vector3 | scale | Scaling factor for all three axes. |