Matrix.Multiply Method (Microsoft.Xna.Framework)
Multiplies the elements of matrix by a scalar.
- C#
- VB
- F#
public static Matrix Multiply( Matrix matrix, float scaleFactor )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- matrix
-
Type: Microsoft.Xna.Framework.Matrix
Source Matrix on the left of the mul sign.
- scaleFactor
-
Type: System.Single
Scalar value on the right of the mul sign.
Return Value
Type: Microsoft.Xna.Framework.MatrixResult of the matrix multiplication with a scalar.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web