◆ Size3i() [1/2]
pluginbase.Helpers.Coords.Size3i.Size3i |
( |
int |
width, |
|
|
int |
length, |
|
|
int |
height |
|
) |
| |
int Height
Definition: Size3i.cs:8
int Width
Definition: Size3i.cs:8
int Length
Definition: Size3i.cs:8
◆ Size3i() [2/2]
pluginbase.Helpers.Coords.Size3i.Size3i |
( |
int |
cubeSize | ) |
|
int Height
Definition: Size3i.cs:8
int Width
Definition: Size3i.cs:8
int Length
Definition: Size3i.cs:8
◆ Equals() [1/2]
bool pluginbase.Helpers.Coords.Size3i.Equals |
( |
Size3i |
other | ) |
|
65 return this.
Width == other.Width && this.
Length == other.Length && this.
Height == other.Height;
int Height
Definition: Size3i.cs:8
int Width
Definition: Size3i.cs:8
int Length
Definition: Size3i.cs:8
◆ Equals() [2/2]
override bool pluginbase.Helpers.Coords.Size3i.Equals |
( |
object |
obj | ) |
|
72 return this.
Equals((Size3i)obj);
Size3i(int width, int length, int height)
Definition: Size3i.cs:10
bool Equals(Size3i other)
Definition: Size3i.cs:63
◆ GetHashCode()
override int pluginbase.Helpers.Coords.Size3i.GetHashCode |
( |
| ) |
|
int Height
Definition: Size3i.cs:8
int Width
Definition: Size3i.cs:8
int Length
Definition: Size3i.cs:8
◆ operator Size3i()
static pluginbase.Helpers.Coords.Size3i.operator Size3i |
( |
Vector3i |
vec | ) |
|
|
explicitstatic |
101 return new Size3i(vec.X, vec.Y, vec.Z);
Size3i(int width, int length, int height)
Definition: Size3i.cs:10
◆ operator Vector3i()
static pluginbase.Helpers.Coords.Size3i.operator Vector3i |
( |
Size3i |
size | ) |
|
|
explicitstatic |
96 return new Vector3i(size.Width, size.Length, size.Height);
static readonly Vector3i
All directions, including diagnols
Definition: Vector3i.cs:111
◆ operator!=()
static bool pluginbase.Helpers.Coords.Size3i.operator!= |
( |
Size3i |
left, |
|
|
Size3i |
right |
|
) |
| |
|
static |
86 return left.Width != right.Width
87 || left.Length != right.Length
88 || left.Height != right.Height;
◆ operator+() [1/2]
110 return new Vector3i(a.X + b.Width, a.Y + b.Length, a.Z + b.Height);
static readonly Vector3i
All directions, including diagnols
Definition: Vector3i.cs:111
◆ operator+() [2/2]
115 return new Size3i(a.Width + b.Width, a.Length + b.Length, a.Height + b.Height);
Size3i(int width, int length, int height)
Definition: Size3i.cs:10
◆ operator==()
static bool pluginbase.Helpers.Coords.Size3i.operator== |
( |
Size3i |
left, |
|
|
Size3i |
right |
|
) |
| |
|
static |
79 return left.Width == right.Width
80 && left.Length == right.Length
81 && left.Height == right.Height;
◆ ToString()
override string pluginbase.Helpers.Coords.Size3i.ToString |
( |
| ) |
|
int Height
Definition: Size3i.cs:8
int Width
Definition: Size3i.cs:8
int Length
Definition: Size3i.cs:8
◆ Height
int pluginbase.Helpers.Coords.Size3i.Height |
◆ Length
int pluginbase.Helpers.Coords.Size3i.Length |
◆ One
readonly Size3i pluginbase.Helpers.Coords.Size3i.One = new Size3i(1,1,1) |
|
static |
◆ Width
int pluginbase.Helpers.Coords.Size3i.Width |
◆ Zero
readonly Size3i pluginbase.Helpers.Coords.Size3i.Zero = new Size3i(0,0,0) |
|
static |
◆ ComponentMax
int pluginbase.Helpers.Coords.Size3i.ComponentMax |
|
get |
Gets the largest component
The component max.
◆ ComponentMin
int pluginbase.Helpers.Coords.Size3i.ComponentMin |
|
get |
◆ Volume
int pluginbase.Helpers.Coords.Size3i.Volume |
|
get |
The documentation for this struct was generated from the following file: