Struct ByteVector4
- Namespace
- OmegaEngine.Foundation.Geometry
- Assembly
- OmegaEngine.Foundation.dll
Defines a four-component vector with byte accuracy.
public struct ByteVector4 : IEquatable<ByteVector4>
- Implements
- Extension Methods
Constructors
ByteVector4(byte, byte, byte, byte)
Defines a four-component vector with byte accuracy.
public ByteVector4(byte x, byte y, byte z, byte w)
Parameters
Properties
W
Gets or sets the W component of the vector.
public byte W { readonly get; set; }
Property Value
X
Gets or sets the X component of the vector.
public byte X { readonly get; set; }
Property Value
Y
Gets or sets the Y component of the vector.
public byte Y { readonly get; set; }
Property Value
Z
Gets or sets the Z component of the vector.
public byte Z { readonly get; set; }
Property Value
Methods
Equals(ByteVector4)
public bool Equals(ByteVector4 other)
Parameters
otherByteVector4
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override readonly int GetHashCode()
Returns
ToString()
public override readonly string ToString()
Returns
Operators
operator ==(ByteVector4, ByteVector4)
public static bool operator ==(ByteVector4 left, ByteVector4 right)
Parameters
leftByteVector4rightByteVector4
Returns
operator !=(ByteVector4, ByteVector4)
public static bool operator !=(ByteVector4 left, ByteVector4 right)
Parameters
leftByteVector4rightByteVector4