Struct UInt2
Stores a vector of 2 uints.
Implements
Inherited Members
Namespace: Evergine.Mathematics
Assembly: Evergine.Mathematics.dll
Syntax
public struct UInt2 : IEquatable<UInt2>
  Constructors
UInt2(uint, uint, uint)
Initializes a new instance of the UInt2 struct.
Declaration
public UInt2(uint x, uint y, uint z)
  Parameters
| Type | Name | Description | 
|---|---|---|
| uint | x | The x.  | 
      
| uint | y | The y.  | 
      
| uint | z | The z.  | 
      
Fields
X
X value.
Declaration
public uint X
  Field Value
| Type | Description | 
|---|---|
| uint | 
Y
Y value.
Declaration
public uint Y
  Field Value
| Type | Description | 
|---|---|
| uint | 
Methods
Equals(UInt2)
Equalses the specified other.
Declaration
public bool Equals(UInt2 other)
  Parameters
| Type | Name | Description | 
|---|---|---|
| UInt2 | other | The other.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | The result.  | 
      
Equals(ref UInt2)
Equalses the specified other.
Declaration
public bool Equals(ref UInt2 other)
  Parameters
| Type | Name | Description | 
|---|---|---|
| UInt2 | other | The other.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | The result.  | 
      
Equals(object)
Determines whether the specified object is equal to this instance.
Declaration
public override bool Equals(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| object | obj | The object to compare with this instance.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | 
  | 
      
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| int | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.  | 
      
Overrides
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| string | A string that represents this instance.  |