Method Scaling
Scaling(Single, Single, Single)
Creates a matrix that scales along the x-axis, y-axis, and y-axis.
Declaration
public static Matrix Scaling(float x, float y, float z)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | x | Scaling factor that is applied along the x-axis. |
| System.Single | y | Scaling factor that is applied along the y-axis. |
| System.Single | z | Scaling factor that is applied along the z-axis. |
Returns
| Type | Description |
|---|---|
| Matrix | The created scaling matrix. |
Scaling(Vector3)
Creates a matrix that scales along the x-axis, y-axis, and y-axis.
Declaration
public static Matrix Scaling(Vector3 scale)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | scale | Scaling factor for all three axes. |
Returns
| Type | Description |
|---|---|
| Matrix | The created scaling matrix. |