Empeld
Empeld plugin documentation.
|
A 2d struct of integers More...
Public Member Functions | |
Vector2i (Vector2i vec) | |
Vector2i (int x, int y) | |
Public Attributes | |
int | X |
The X component More... | |
int | Y |
The Y component More... | |
Static Public Attributes | |
static readonly Vector2i | Zero = new Vector2i(0, 0) |
Vector (0,0) More... | |
static readonly Vector2i | UnitX = new Vector2i(1, 0) |
Vector (1,0) More... | |
static readonly Vector2i | UnitY = new Vector2i(0, 1) |
Vector (0,1) More... | |
static readonly Vector2i | One = new Vector2i(1, 1) |
Vector (1,1) More... | |
A 2d struct of integers
Attribute: StructLayout(LayoutKind.Sequential, Pack = 1)
pluginbase.Helpers.Coords.Vector2i.Vector2i | ( | Vector2i | vec | ) |
pluginbase.Helpers.Coords.Vector2i.Vector2i | ( | int | x, |
int | y | ||
) |
Vector (1,0)
Enumerates all the axis-aligned unit-length directions (1,0),(-1,0),(0,1),(0,-1)
Attribute: ] AxisAlignedDirections = new Vector2i[
{
Vector (0,1)
int pluginbase.Helpers.Coords.Vector2i.X |
The X component
int pluginbase.Helpers.Coords.Vector2i.Y |
The Y component