Partilhar via


Matrix.Multiply Method (Matrix, Single)

Multiplies a matrix by a scalar value.

Syntax

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

Parameters

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

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