[]
Creates a matrix that uniformally scales along all three axis.
public static Matrix4x4 Scale(float scale)
| Type | Name | Description |
|---|---|---|
| float | scale | The uniform scale that is applied along all axis. |
| Type | Description |
|---|---|
| Matrix4x4 | The created scaling matrix. |
Creates a matrix that scales along the x-axis, y-axis, and y-axis.
public static Matrix4x4 Scale(float xScale, float yScale, float zScale)
| Type | Name | Description |
|---|---|---|
| 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. |
| Type | Description |
|---|---|
| Matrix4x4 | The created scaling matrix. |
Creates a matrix that scales along the x-axis, y-axis, and y-axis.
public static Matrix4x4 Scale(Vector3 scale)
| Type | Name | Description |
|---|---|---|
| Vector3 | scale | Scaling factor for all three axes. |
| Type | Description |
|---|---|
| Matrix4x4 | The created scaling matrix. |