Struct UInt3
Stores a vector of 3 UInts.
Implements
Inherited Members
Namespace: Evergine.Mathematics
Assembly: Evergine.Mathematics.dll
Syntax
public struct UInt3 : IEquatable<UInt3>
Constructors
UInt3(uint, uint, uint)
Initializes a new instance of the UInt3 struct.
Declaration
public UInt3(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 |
Z
Z value.
Declaration
public uint Z
Field Value
Type | Description |
---|---|
uint |
Methods
Equals(UInt3)
Equalses the specified other.
Declaration
public bool Equals(UInt3 other)
Parameters
Type | Name | Description |
---|---|---|
UInt3 | other | The other. |
Returns
Type | Description |
---|---|
bool | The result. |
Equals(ref UInt3)
Equalses the specified other.
Declaration
public bool Equals(ref UInt3 other)
Parameters
Type | Name | Description |
---|---|---|
UInt3 | 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. |