Class Vec4s
- Namespace
- Vintagestory.API.MathTools
- Assembly
- VintagestoryAPI.dll
Represents a vector of 4 shorts. Go bug Tyron if you need more utility methods in this class.
public class Vec4s : IEquatable<Vec4s>
- Inheritance
-
Vec4s
- Implements
- Inherited Members
- Extension Methods
Constructors
Vec4s()
public Vec4s()
Vec4s(short, short, short, short)
public Vec4s(short x, short y, short z, short w)
Parameters
Fields
W
public short W
Field Value
X
public short X
Field Value
Y
public short Y
Field Value
Z
public short Z
Field Value
Methods
Equals(Vec4s)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Vec4s other)
Parameters
other
Vec4sAn 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.