AngeliA
Search Results for

    Show / Hide Table of Contents

    Struct Long4

    Implements
    IEquatable<Long4>
    IFormattable

    Constructors

    Long4(long, long, long, long)

    Declaration
    public Long4(long x, long y, long z, long w)

    Fields

    one

    Declaration
    public static readonly Long4 one

    three

    Declaration
    public static readonly Long4 three

    two

    Declaration
    public static readonly Long4 two

    w

    Declaration
    public long w

    x

    Declaration
    public long x

    y

    Declaration
    public long y

    z

    Declaration
    public long z

    zero

    Declaration
    public static readonly Long4 zero

    Properties

    IsZero

    Declaration
    public readonly bool IsZero { get; }

    this[int]

    Declaration
    public long this[int index] { readonly get; set; }

    down

    Declaration
    public long down { readonly get; set; }

    horizontal

    Declaration
    public readonly long horizontal { get; }

    left

    Declaration
    public long left { readonly get; set; }

    right

    Declaration
    public long right { readonly get; set; }

    up

    Declaration
    public long up { readonly get; set; }

    vertical

    Declaration
    public readonly long vertical { get; }

    Methods

    Contains(long)

    Declaration
    public readonly bool Contains(long value)

    Direction(long, long, long, long)

    Declaration
    public static Long4 Direction(long left, long right, long down, long up)

    Equals(Long4)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public readonly bool Equals(Long4 other)
    Parameters
    Type Name Description
    Long4 other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    Equals(object)

    Indicates whether this instance and a specified object are equal.

    Declaration
    public override readonly bool Equals(object other)
    Returns
    Type Description
    bool

    true if obj and this instance are the same type and represent the same value; otherwise, false.

    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override readonly int GetHashCode()
    Returns
    Type Description
    int

    A 32-bit signed integer that is the hash code for this instance.

    Overrides
    ValueType.GetHashCode()

    Swap(long, long)

    Declaration
    public bool Swap(long value, long newValue)

    ToString()

    Returns the fully qualified type name of this instance.

    Declaration
    public override readonly string ToString()
    Returns
    Type Description
    string

    The fully qualified type name.

    Overrides
    ValueType.ToString()

    ToString(string)

    Declaration
    public readonly string ToString(string format)

    ToString(string, IFormatProvider)

    Formats the value of the current instance using the specified format.

    Declaration
    public readonly string ToString(string format, IFormatProvider formatProvider)
    Parameters
    Type Name Description
    string format

    The format to use.

    -or-

    A null reference (Nothing in Visual Basic) to use the default format defined for the type of the IFormattable implementation.

    IFormatProvider formatProvider

    The provider to use to format the value.

    -or-

    A null reference (Nothing in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.

    Returns
    Type Description
    string

    The value of the current instance in the specified format.

    Operators

    operator +(Long4, Long4)

    Declaration
    public static Long4 operator +(Long4 a, Long4 b)

    operator ==(Long4, Long4)

    Declaration
    public static bool operator ==(Long4 a, Long4 b)

    operator !=(Long4, Long4)

    Declaration
    public static bool operator !=(Long4 a, Long4 b)

    operator *(Long4, long)

    Declaration
    public static Long4 operator *(Long4 a, long b)

    operator *(long, Long4)

    Declaration
    public static Long4 operator *(long b, Long4 a)
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค