Matrix4x4.Equals Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether this instance and a specified Matrix4x4 instance or a specified object are equal.
Equals(Matrix4x4) |
Returns a value that indicates whether this instance and another 4x4 matrix are equal. |
Equals(Object) |
Returns a value that indicates whether this instance and a specified object are equal. |
- Source:
- Matrix4x4.cs
- Source:
- Matrix4x4.cs
- Source:
- Matrix4x4.cs
Returns a value that indicates whether this instance and another 4x4 matrix are equal.
public:
virtual bool Equals(System::Numerics::Matrix4x4 other);
public bool Equals (System.Numerics.Matrix4x4 other);
public readonly bool Equals (System.Numerics.Matrix4x4 other);
override this.Equals : System.Numerics.Matrix4x4 -> bool
Public Function Equals (other As Matrix4x4) As Boolean
Parameters
- other
- Matrix4x4
The other matrix.
Returns
true
if the two matrices are equal; otherwise, false
.
Implements
Applies to
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 |
UWP | 10.0 |
- Source:
- Matrix4x4.cs
- Source:
- Matrix4x4.cs
- Source:
- Matrix4x4.cs
Returns a value that indicates whether this instance and a specified object are equal.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
public override readonly bool Equals (object? obj);
public override readonly bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
- obj
- Object
The object to compare with the current instance.
Returns
true
if the current instance and obj
are equal; otherwise, false
. If obj
is null
, the method returns false
.
Remarks
The current instance and obj
are equal if obj
is a Matrix4x4 object and the corresponding elements of each matrix are equal.
Applies to
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 |
UWP | 10.0 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: