Search Results for

    Show / Hide Table of Contents

    Struct Byte4

    Stores a vector of 4 bytes.

    Implements
    IEquatable<Byte4>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Evergine.Mathematics
    Assembly: Evergine.Mathematics.dll
    Syntax
    public struct Byte4 : IEquatable<Byte4>

    Constructors

    Byte4(byte, byte, byte, byte)

    Initializes a new instance of the Byte4 struct.

    Declaration
    public Byte4(byte x, byte y, byte z, byte w)
    Parameters
    Type Name Description
    byte x

    The x.

    byte y

    The y.

    byte z

    The z.

    byte w

    The w.

    Fields

    W

    W value.

    Declaration
    public byte W
    Field Value
    Type Description
    byte

    X

    X value.

    Declaration
    public byte X
    Field Value
    Type Description
    byte

    Y

    Y value.

    Declaration
    public byte Y
    Field Value
    Type Description
    byte

    Z

    Z value.

    Declaration
    public byte Z
    Field Value
    Type Description
    byte

    Methods

    Equals(Byte4)

    Equalses the specified other.

    Declaration
    public bool Equals(Byte4 other)
    Parameters
    Type Name Description
    Byte4 other

    The other.

    Returns
    Type Description
    bool

    The result.

    Equals(ref Byte4)

    Equalses the specified other.

    Declaration
    public bool Equals(ref Byte4 other)
    Parameters
    Type Name Description
    Byte4 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

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

    Implements

    IEquatable<T>

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX