Редагувати

Поділитися через


Matrix3D Struct

Definition

Represents a 4 × 4 matrix that is used for transformations in a three-dimensional (3-D) space.

public value class Matrix3D : IFormattable
[System.Security.SecurityCritical]
public struct Matrix3D : IFormattable
[<System.Security.SecurityCritical>]
type Matrix3D = struct
    interface IFormattable
Public Structure Matrix3D
Implements IFormattable
Inheritance
Matrix3D
Attributes
Implements

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Matrix3D struct. For more information, see Matrix3D in the UWP API reference.

Constructors

Matrix3D(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double)

Initializes a new instance of the Matrix3D class.

Properties

HasInverse

Gets a value that indicates whether this Matrix3D is invertible.

Identity

Changes a Matrix3D struct into an identity Matrix3D.

IsIdentity

Determines whether this Matrix3D struct is an identity Matrix3D.

M11

Gets or sets the value of the first row and first column of this Matrix3D.

M12

Gets or sets the value of the first row and second column of this Matrix3D.

M13

Gets or sets the value of the first row and third column of this Matrix3D.

M14

Gets or sets the value of the first row and fourth column of this Matrix3D.

M21

Gets or sets the value of the second row and first column of this Matrix3D.

M22

Gets or sets the value of the second row and second column of this Matrix3D.

M23

Gets or sets the value of the second row and third column of this Matrix3D.

M24

Gets or sets the value of the second row and fourth column of this Matrix3D.

M31

Gets or sets the value of the third row and first column of this Matrix3D.

M32

Gets or sets the value of the third row and second column of this Matrix3D.

M33

Gets or sets the value of the third row and third column of this Matrix3D.

M34

Gets or sets the value of the third row and fourth column of this Matrix3D.

M44

Gets or sets the value of the fourth row and fourth column of this Matrix3D.

OffsetX

Gets or sets the value of the fourth row and first column of this Matrix3D.

OffsetY

Gets or sets the value of the fourth row and second column of this Matrix3D.

OffsetZ

Gets or sets the value of the fourth row and third column of this Matrix3D.

Methods

Equals(Matrix3D)

Tests for equality between two matrices.

Equals(Object)

Tests for equality between two matrices.

GetHashCode()

Returns the hash code for this matrix.

Invert()

Inverts this Matrix3D struct.

ToString()

Creates a string representation of this Matrix3D.

ToString(IFormatProvider)

Creates a string representation of this Matrix3D.

Operators

Equality(Matrix3D, Matrix3D)

Compares two Matrix3D instances for equality.

Inequality(Matrix3D, Matrix3D)

Compares two Matrix3D instances for inequality.

Multiply(Matrix3D, Matrix3D)

Multiplies the specified matrices.

Explicit Interface Implementations

IFormattable.ToString(String, IFormatProvider)

For a description of this member, see ToString(String, IFormatProvider).

Applies to

See also