Partilhar via


Matrix.op_Multiply Method (Single, Matrix)

Multiplies a matrix by a scalar value.

Syntax

'Declaration
Public Shared Function op_Multiply ( _
         scaleFactor As Single, _
         matrix As Matrix _
) As Matrix 
public static Matrix op_Multiply (
         float scaleFactor,
         Matrix matrix
)
public:
static Matrix op_Multiply(
         float scaleFactor,
         Matrix matrix
)

Parameters

  • scaleFactor
    Type: Single
    Scalar value.
  • matrix
    Type: Matrix
    Source matrix.

Return Value

Type: Matrix
Result of the multiplication.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone