Riwmorld
Verse.IntVec3 Struct Reference
Inheritance diagram for Verse.IntVec3:

Public Member Functions

 IntVec3 (int newX, int newY, int newZ)
 
 IntVec3 (Vector3 v)
 
 IntVec3 (Vector2 v)
 
bool AdjacentToCardinal (IntVec3 other)
 
override bool Equals (object obj)
 
bool Equals (IntVec3 other)
 
override int GetHashCode ()
 
bool InHorDistOf (IntVec3 otherLoc, float maxDist)
 
override string ToString ()
 
Vector2 ToUIPosition ()
 
Vector3 ToVector3 ()
 
Vector3 ToVector3Shifted ()
 
Vector3 ToVector3ShiftedWithAltitude (AltitudeLayer AltLayer)
 
Vector3 ToVector3ShiftedWithAltitude (float AddedAltitude)
 
ulong UniqueHashCode ()
 

Static Public Member Functions

static IntVec3 FromString (string str)
 
static IntVec3 FromVector3 (Vector3 v)
 
static IntVec3 FromVector3 (Vector3 v, int newY)
 
static IntVec3 operator+ (IntVec3 a, IntVec3 b)
 
static bool operator== (IntVec3 a, IntVec3 b)
 
static bool operator!= (IntVec3 a, IntVec3 b)
 
static IntVec3 operator* (IntVec3 a, int i)
 
static IntVec3 operator- (IntVec3 a, IntVec3 b)
 

Public Attributes

int x
 
int y
 
int z
 

Properties

float AngleFlat [get]
 
static IntVec3 East [get]
 
static IntVec3 Invalid [get]
 
bool IsValid [get]
 
float LengthHorizontal [get]
 
float LengthHorizontalSquared [get]
 
int LengthManhattan [get]
 
static IntVec3 North [get]
 
static IntVec3 South [get]
 
IntVec2 ToIntVec2 [get]
 
static IntVec3 West [get]
 
static IntVec3 Zero [get]
 

The documentation for this struct was generated from the following file: