Class Vec4us
- Namespace
- Vintagestory.API.MathTools
- Assembly
- VintagestoryAPI.dll
Represents a vector of 4 unsigned shorts. Go bug Tyron if you need more utility methods in this class.
public class Vec4us : IEquatable<Vec4us>
- Inheritance
-
Vec4us
- Implements
- Inherited Members
- Extension Methods
Constructors
Vec4us()
public Vec4us()
Vec4us(ushort, ushort, ushort, ushort)
public Vec4us(ushort x, ushort y, ushort z, ushort w)
Parameters
Fields
W
public ushort W
Field Value
X
public ushort X
Field Value
Y
public ushort Y
Field Value
Z
public ushort Z
Field Value
Methods
Equals(Vec4us)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Vec4us other)
Parameters
other
Vec4usAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.