Matrix3D 结构

定义

表示用于在三维 (3-D) 空间中进行转换的 4 × 4 矩阵。Represents a 4 × 4 matrix that is used for transformations in a three-dimensional (3-D) space.

public value class Matrix3D : IFormattable
public struct Matrix3D : IFormattable
[System.Security.SecurityCritical]
public struct Matrix3D : IFormattable
type Matrix3D = struct
    interface IFormattable
Public Structure Matrix3D
Implements IFormattable
继承
Matrix3D
属性
实现

注解

此结构表示 Windows 运行时(WinRT) Matrix3D 结构的 .NET 投影。This struct represents the .NET projection of the Windows Runtime (WinRT) Matrix3D struct. 有关详细信息,请参阅 UWP API 参考中的Matrix3DFor more information, see Matrix3D in the UWP API reference.

构造函数

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

初始化 Matrix3D 类的新实例。Initializes a new instance of the Matrix3D class.

属性

HasInverse

获取指示是否可反转此 Matrix3D 的值。Gets a value that indicates whether this Matrix3D is invertible.

Identity

Matrix3D 结构更改为单位 Matrix3DChanges a Matrix3D struct into an identity Matrix3D.

IsIdentity

确定此 Matrix3D 结构是否为单位 Matrix3DDetermines whether this Matrix3D struct is an identity Matrix3D.

M11

获取或设置 Matrix3D 中第一行与第一列相交处的值。Gets or sets the value of the first row and first column of this Matrix3D.

M12

获取或设置 Matrix3D 中第一行与第二列相交处的值。Gets or sets the value of the first row and second column of this Matrix3D.

M13

获取或设置 Matrix3D 中第一行与第三列相交处的值。Gets or sets the value of the first row and third column of this Matrix3D.

M14

获取或设置 Matrix3D 中第一行与第四列相交处的值。Gets or sets the value of the first row and fourth column of this Matrix3D.

M21

获取或设置 Matrix3D 中第二行与第一列相交处的值。Gets or sets the value of the second row and first column of this Matrix3D.

M22

获取或设置 Matrix3D 中第二行与第二列相交处的值。Gets or sets the value of the second row and second column of this Matrix3D.

M23

获取或设置 Matrix3D 中第二行与第三列相交处的值。Gets or sets the value of the second row and third column of this Matrix3D.

M24

获取或设置 Matrix3D 中第二行与第四列相交处的值。Gets or sets the value of the second row and fourth column of this Matrix3D.

M31

获取或设置 Matrix3D 中第三行与第一列相交处的值。Gets or sets the value of the third row and first column of this Matrix3D.

M32

获取或设置 Matrix3D 中第三行与第二列相交处的值。Gets or sets the value of the third row and second column of this Matrix3D.

M33

获取或设置 Matrix3D 中第三行与第三列相交处的值。Gets or sets the value of the third row and third column of this Matrix3D.

M34

获取或设置 Matrix3D 中第三行与第四列相交处的值。Gets or sets the value of the third row and fourth column of this Matrix3D.

M44

获取或设置 Matrix3D 中第四行与第四列相交处的值。Gets or sets the value of the fourth row and fourth column of this Matrix3D.

OffsetX

获取或设置 Matrix3D 中第四行与第一列相交处的值。Gets or sets the value of the fourth row and first column of this Matrix3D.

OffsetY

获取或设置 Matrix3D 中第四行与第二列相交处的值。Gets or sets the value of the fourth row and second column of this Matrix3D.

OffsetZ

获取或设置 Matrix3D 中第四行与第三列相交处的值。Gets or sets the value of the fourth row and third column of this Matrix3D.

方法

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()

反转此 Matrix3D 结构。Inverts this Matrix3D struct.

ToString()

创建此 Matrix3D 的字符串表示形式。Creates a string representation of this Matrix3D.

ToString(IFormatProvider)

创建此 Matrix3D 的字符串表示形式。Creates a string representation of this Matrix3D.

运算符

Equality(Matrix3D, Matrix3D)

比较两个 Matrix3D 实例是否相等。Compares two Matrix3D instances for equality.

Inequality(Matrix3D, Matrix3D)

比较两个 Matrix3D 实例是否不相等。Compares two Matrix3D instances for inequality.

Multiply(Matrix3D, Matrix3D)

将指定的矩阵相乘。Multiplies the specified matrices.

显式接口实现

IFormattable.ToString(String, IFormatProvider)

有关此成员的说明,请参见 ToString(String, IFormatProvider)For a description of this member, see ToString(String, IFormatProvider).

适用于

另请参阅