Operator Multiply
Multiply(Matrix, Matrix)
Multiplies two matrices.
Declaration
public static Matrix operator *(Matrix left, Matrix right)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix | left | The first matrix to multiply. |
| Matrix | right | The second matrix to multiply. |
Returns
| Type | Description |
|---|---|
| Matrix | The product of the two matrices. |
Multiply(Matrix, Single)
Scales a matrix by a given value.
Declaration
public static Matrix operator *(Matrix left, float right)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix | left | The matrix to scale. |
| System.Single | right | The amount by which to scale. |
Returns
| Type | Description |
|---|---|
| Matrix | The scaled matrix. |
Multiply(Single, Matrix)
Scales a matrix by a given value.
Declaration
public static Matrix operator *(float left, Matrix right)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | left | The amount by which to scale. |
| Matrix | right | The matrix to scale. |
Returns
| Type | Description |
|---|---|
| Matrix | The scaled matrix. |