Search Results for

    Show / Hide Table of Contents

    Struct UInt2

    Stores a vector of 2 unsigned integers.

    Namespace: Evergine.Mathematics
    Assembly: Evergine.Mathematics.dll
    Syntax
    public struct 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

    Represents the 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)

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

    Compares for equality with the specified other.

    Declaration
    public bool Equals(ref UInt2 other)
    Parameters
    Type Name Description
    UInt2 other

    The other object to compare.

    Returns
    Type Description
    bool

    The result of the comparison.

    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

    true if the specified object is equal to this instance; otherwise, false.

    Overrides
    ValueType.Equals(object)

    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
    ValueType.GetHashCode()

    ToString()

    Returns a string that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents this instance.

    Overrides
    ValueType.ToString()

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX