Struct XMComparisonRecord
Assembly: JeremyAnsel.DirectX.DXMath.dll
Syntax
public struct XMComparisonRecord : IEquatable<XMComparisonRecord>
Constructors
|
Edit this page
View Source
XMComparisonRecord(uint)
Declaration
public XMComparisonRecord(uint record)
Parameters
| Type |
Name |
Description |
| uint |
record |
A comparison record.
|
Fields
|
Edit this page
View Source
Mask
Mask to get a comparison result.
Declaration
public const uint Mask = 240
Field Value
|
Edit this page
View Source
MaskBounds
Mask to get a comparison result, and verify if the result indicates that some of the inputs were out of bounds.
Declaration
public const uint MaskBounds = 32
Field Value
|
Edit this page
View Source
MaskFalse
Mask to get a comparison result, and verify if it is a logical false.
Declaration
public const uint MaskFalse = 32
Field Value
|
Edit this page
View Source
MaskTrue
Mask to get a comparison result, and verify if it is a logical true.
Declaration
public const uint MaskTrue = 128
Field Value
Properties
|
Edit this page
View Source
IsAllFalse
Gets a value indicating whether all of the compared components are false.
Declaration
public bool IsAllFalse { get; }
Property Value
|
Edit this page
View Source
IsAllInBounds
Gets a value indicating whether all of the compared components are within set bounds.
Declaration
public bool IsAllInBounds { get; }
Property Value
|
Edit this page
View Source
IsAllTrue
Gets a value indicating whether all of the compared components are true.
Declaration
public bool IsAllTrue { get; }
Property Value
|
Edit this page
View Source
IsAnyFalse
Gets a value indicating whether any of the compared components are false.
Declaration
public bool IsAnyFalse { get; }
Property Value
|
Edit this page
View Source
IsAnyOutOfBounds
Gets a value indicating whether any of the compared components are outside the set bounds.
Declaration
public bool IsAnyOutOfBounds { get; }
Property Value
|
Edit this page
View Source
IsAnyTrue
Gets a value indicating whether any of the compared components are true
Declaration
public bool IsAnyTrue { get; }
Property Value
|
Edit this page
View Source
IsMixed
Gets a value indicating whether the compared components had mixed results: some true and some false.
Declaration
public bool IsMixed { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(XMComparisonRecord)
Declaration
public readonly bool Equals(XMComparisonRecord other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override readonly bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
Operators
|
Edit this page
View Source
operator ==(XMComparisonRecord, XMComparisonRecord)
Declaration
public static bool operator ==(XMComparisonRecord left, XMComparisonRecord right)
Parameters
Returns
|
Edit this page
View Source
operator !=(XMComparisonRecord, XMComparisonRecord)
Declaration
public static bool operator !=(XMComparisonRecord left, XMComparisonRecord right)
Parameters
Returns
Implements