Empeld
Empeld plugin documentation.
pluginbase.Helpers.Coords Namespace Reference

Classes

struct  Box2i
 
struct  Rotation2
 Rotation XZ; In radians More...
 
struct  Rotation2d
 Rotation XZ; In radians More...
 
struct  Size3i
 
struct  Vector2i
 A 2d struct of integers More...
 
struct  Vector3i
 A class representing a 3D coordinate of integers More...
 
class  VectorIterators
 A class of helpers that iterate through vector-space More...
 
struct  Volume
 Represent a 3D axis-aligned volume More...
 

Functions

static readonly Vector2i new Vector2i (1, 1)
 
static readonly Vector2i new new Vector2i (1,-1)
 
static readonly Vector2i new new new Vector2i (-1,-1)
 

Variables

static readonly Vector2i UnitX
 Enumerates all the axis-aligned and diagnol directions (Not unit-length) eg (1,0),(1,1),(0,1),(-1,1),etc More...
 
static readonly Vector2i UnitY
 
static readonly Vector3i UnitX
 Both positive and negative axis aligned directions for the vector (1,0,0), (-1,0,0), (0,1,0), ... More...
 
static readonly Vector3i UnitY
 
static readonly Vector3i UnitZ
 

Function Documentation

◆ Vector2i() [1/3]

static readonly Vector2i new pluginbase.Helpers.Coords.Vector2i ( ,
 
)
static

◆ Vector2i() [2/3]

static readonly Vector2i new new new pluginbase.Helpers.Coords.Vector2i ( 1,
1 
)

◆ Vector2i() [3/3]

static readonly Vector2i new new pluginbase.Helpers.Coords.Vector2i ( ,
1 
)

Variable Documentation

◆ UnitX [1/2]

static readonly Vector2i pluginbase.Helpers.Coords.UnitX
static

Enumerates all the axis-aligned and diagnol directions (Not unit-length) eg (1,0),(1,1),(0,1),(-1,1),etc

Attribute: ] AllDirections = new Vector2i[

{

◆ UnitX [2/2]

static readonly Vector3i pluginbase.Helpers.Coords.UnitX
static

Both positive and negative axis aligned directions for the vector (1,0,0), (-1,0,0), (0,1,0), ...

Attribute: ] AxisAlignedDirections = new Vector3i[

{

◆ UnitY [1/2]

static readonly Vector2i pluginbase.Helpers.Coords.UnitY
static

◆ UnitY [2/2]

static readonly Vector3i pluginbase.Helpers.Coords.UnitY
static

◆ UnitZ

readonly Vector3i pluginbase.Helpers.Coords.UnitZ
static