Bagikan melalui


Matrix.Negate Method (Matrix)

Negates individual elements of a matrix.

Syntax

'Declaration
Public Shared Function Negate ( _
         matrix As Matrix _
) As Matrix 
public static Matrix Negate (
         Matrix matrix
)
public:
static Matrix Negate(
         Matrix matrix
)

Parameters

  • matrix
    Type: Matrix
    Source matrix.

Return Value

Type: Matrix
Negated 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