• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Vim.Math3d
    • AABox
    • AABox2D
    • AABox4D
    • AngularMotion
    • AxisAngle
    • Byte2
    • Byte3
    • Byte4
    • ColorHDR
    • ColorRGB
    • ColorRGBA
    • Complex
    • Constants
    • ContainmentType
    • CylindricalCoordinate
    • DAABox
    • DAABox2D
    • DAABox4D
    • DInterval
    • DPlane
    • DQuaternion
    • DRay
    • DSphere
    • DVector2
    • DVector3
    • DVector4
    • Euler
    • GeoCoordinate
    • Hash
    • HorizontalCoordinate
    • IMappable<TContainer, TPart>
    • Int2
    • Int3
    • Int4
    • Interval
    • IPoints
    • IPoints2D
    • ITransformable3D<TSelf>
    • Line
    • Line2D
    • LinearMotion
    • LinqUtil
    • LogPolarCoordinate
    • MathOps
    • Matrix4x4
    • Motion
    • MovementExtensions
    • Plane
    • PlaneIntersectionType
    • PolarCoordinate
    • Quad
    • Quad2D
    • Quaternion
    • Ray
    • Sphere
    • SphericalCoordinate
    • StatelessRandom
    • Stats<T>
    • Transform
    • Transformable3D
    • Triangle
    • Triangle2D
    • Vector2
    • Vector3
    • Vector4

Struct Byte4

Implements
System.IEquatable<Byte4>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Vim.Math3d
Assembly: Vim.Math3D.dll
[DataContract]
public readonly struct Byte4 : IEquatable<Byte4>

Constructors

View Source

Byte4(Byte, Byte, Byte, Byte)

public Byte4(byte x, byte y, byte z, byte w)
View Source

Byte4((Byte x, Byte y, Byte z, Byte w))

public Byte4((byte x, byte y, byte z, byte w) tuple)

Fields

View Source

MaxValue

public static Byte4 MaxValue
View Source

MinValue

public static Byte4 MinValue
View Source

W

[DataMember]
public readonly byte W
View Source

X

[DataMember]
public readonly byte X
View Source

Y

[DataMember]
public readonly byte Y
View Source

Z

[DataMember]
public readonly byte Z
View Source

Zero

public static Byte4 Zero

Methods

View Source

Create(Byte, Byte, Byte, Byte)

public static Byte4 Create(byte x, byte y, byte z, byte w)
View Source

Create((Byte x, Byte y, Byte z, Byte w))

public static Byte4 Create((byte x, byte y, byte z, byte w) tuple)
View Source

Deconstruct(out Byte, out Byte, out Byte, out Byte)

public readonly void Deconstruct(out byte x, out byte y, out byte z, out byte w)
View Source

Equals(Object)

public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source

Equals(Byte4)

public readonly bool Equals(Byte4 x)
View Source

GetHashCode()

public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source

SetW(Byte)

public readonly Byte4 SetW(byte x)
View Source

SetX(Byte)

public readonly Byte4 SetX(byte x)
View Source

SetY(Byte)

public readonly Byte4 SetY(byte x)
View Source

SetZ(Byte)

public readonly Byte4 SetZ(byte x)
View Source

ToString()

public override readonly string ToString()
Overrides
System.ValueType.ToString()

Operators

View Source

Equality(Byte4, Byte4)

public static bool operator ==(Byte4 x0, Byte4 x1)
View Source

Implicit((Byte x, Byte y, Byte z, Byte w) to Byte4)

public static implicit operator Byte4((byte x, byte y, byte z, byte w) tuple)
View Source

Implicit(Byte4 to (Byte x, Byte y, Byte z, Byte w))

public static implicit operator (byte x, byte y, byte z, byte w)(Byte4 self)
View Source

Inequality(Byte4, Byte4)

public static bool operator !=(Byte4 x0, Byte4 x1)

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright VIM 2021, Generated by DocFX