Share via


Matrix.Divide Method (Matrix, Single)

Divides the components of a matrix by a scalar.

Syntax

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

Parameters

  • matrix1
    Type: Matrix
    Source matrix.
  • divider
    Type: Single
    The divisor.

Return Value

Type: Matrix
Resulting matrix.

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