3D integer class - operates similarly to Unity's Vector3D
More...
|
| static | operator Vector3 (Int3 v) |
| |
| static | operator Vector2 (Int3 v) |
| |
| static Int3 | Scale (Int3 l, Int3 r) |
| |
| static int | Dot (Int3 l, Int3 r) |
| |
| static int | DotOne (Int3 v) |
| |
| static Int3 | Cross (Int3 l, Int3 r) |
| |
| static Int3 | Min (Int3 l, Int3 r) |
| |
| static Int3 | Max (Int3 l, Int3 r) |
| |
| static Int3 | Clamp (Int3 v, Int3 min, Int3 max) |
| |
| static Int3 | ClosestPowerOfTwo (Int3 v) |
| |
| static int | CubicToLinearIndex (Int3 v, Int3 size) |
| |
| static Int3 | LinearToCubicIndex (int v, Int3 size) |
| |
| static Int3 | operator+ (Int3 l, Int3 r) |
| |
| static Int3 | operator- (Int3 l, Int3 r) |
| |
| static Int3 | operator- (Int3 v) |
| |
| static Int3 | operator* (Int3 v, int d) |
| |
| static Int3 | operator* (int d, Int3 v) |
| |
| static Int3 | operator/ (Int3 v, int d) |
| |
| static bool | operator== (Int3 l, Int3 r) |
| |
| static bool | operator!= (Int3 l, Int3 r) |
| |
|
| static readonly Int3 | zero = new Int3(0, 0, 0) |
| |
| static readonly Int3 | one = new Int3(1, 1, 1) |
| |
| static readonly Int3 | forward = new Int3(0, 0, 1) |
| |
| static readonly Int3 | back = new Int3(0, 0, -1) |
| |
| static readonly Int3 | up = new Int3(0, 1, 0) |
| |
| static readonly Int3 | down = new Int3(0, -1, 0) |
| |
| static readonly Int3 | left = new Int3(-1, 0, 0) |
| |
| static readonly Int3 | right = new Int3(1, 0, 0) |
| |
3D integer class - operates similarly to Unity's Vector3D
Definition at line 16 of file Int3.cs.
§ Int3() [1/2]
| HoloToolkit.Unity.Int3.Int3 |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
z |
|
) |
| |
§ Int3() [2/2]
| HoloToolkit.Unity.Int3.Int3 |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
§ Clamp()
§ ClosestPowerOfTwo()
| static Int3 HoloToolkit.Unity.Int3.ClosestPowerOfTwo |
( |
Int3 |
v | ) |
|
|
static |
§ Cross()
§ CubicToLinearIndex()
| static int HoloToolkit.Unity.Int3.CubicToLinearIndex |
( |
Int3 |
v, |
|
|
Int3 |
size |
|
) |
| |
|
static |
§ Dot()
| static int HoloToolkit.Unity.Int3.Dot |
( |
Int3 |
l, |
|
|
Int3 |
r |
|
) |
| |
|
static |
§ DotOne()
| static int HoloToolkit.Unity.Int3.DotOne |
( |
Int3 |
v | ) |
|
|
static |
§ Equals() [1/2]
| bool HoloToolkit.Unity.Int3.Equals |
( |
Int3 |
other | ) |
|
§ Equals() [2/2]
| override bool HoloToolkit.Unity.Int3.Equals |
( |
object |
value | ) |
|
§ GetHashCode()
| override int HoloToolkit.Unity.Int3.GetHashCode |
( |
| ) |
|
§ LinearToCubicIndex()
| static Int3 HoloToolkit.Unity.Int3.LinearToCubicIndex |
( |
int |
v, |
|
|
Int3 |
size |
|
) |
| |
|
static |
§ Magnitude()
| float HoloToolkit.Unity.Int3.Magnitude |
( |
Int3 |
v | ) |
|
§ Max()
§ Min()
§ operator Vector2()
| static HoloToolkit.Unity.Int3.operator Vector2 |
( |
Int3 |
v | ) |
|
|
explicitstatic |
§ operator Vector3()
| static HoloToolkit.Unity.Int3.operator Vector3 |
( |
Int3 |
v | ) |
|
|
explicitstatic |
§ operator!=()
| static bool HoloToolkit.Unity.Int3.operator!= |
( |
Int3 |
l, |
|
|
Int3 |
r |
|
) |
| |
|
static |
§ operator*() [1/2]
| static Int3 HoloToolkit.Unity.Int3.operator* |
( |
Int3 |
v, |
|
|
int |
d |
|
) |
| |
|
static |
§ operator*() [2/2]
| static Int3 HoloToolkit.Unity.Int3.operator* |
( |
int |
d, |
|
|
Int3 |
v |
|
) |
| |
|
static |
§ operator+()
| static Int3 HoloToolkit.Unity.Int3.operator+ |
( |
Int3 |
l, |
|
|
Int3 |
r |
|
) |
| |
|
static |
§ operator-() [1/2]
| static Int3 HoloToolkit.Unity.Int3.operator- |
( |
Int3 |
l, |
|
|
Int3 |
r |
|
) |
| |
|
static |
§ operator-() [2/2]
| static Int3 HoloToolkit.Unity.Int3.operator- |
( |
Int3 |
v | ) |
|
|
static |
§ operator/()
| static Int3 HoloToolkit.Unity.Int3.operator/ |
( |
Int3 |
v, |
|
|
int |
d |
|
) |
| |
|
static |
§ operator==()
| static bool HoloToolkit.Unity.Int3.operator== |
( |
Int3 |
l, |
|
|
Int3 |
r |
|
) |
| |
|
static |
§ Scale()
§ SqrMagnitude()
| int HoloToolkit.Unity.Int3.SqrMagnitude |
( |
Int3 |
v | ) |
|
§ ToString() [1/3]
| override string HoloToolkit.Unity.Int3.ToString |
( |
| ) |
|
§ ToString() [2/3]
| string HoloToolkit.Unity.Int3.ToString |
( |
IFormatProvider |
formatProvider | ) |
|
§ ToString() [3/3]
| string HoloToolkit.Unity.Int3.ToString |
( |
string |
format, |
|
|
IFormatProvider |
formatProvider |
|
) |
| |
§ back
| readonly Int3 HoloToolkit.Unity.Int3.back = new Int3(0, 0, -1) |
|
static |
§ down
| readonly Int3 HoloToolkit.Unity.Int3.down = new Int3(0, -1, 0) |
|
static |
§ forward
| readonly Int3 HoloToolkit.Unity.Int3.forward = new Int3(0, 0, 1) |
|
static |
§ left
| readonly Int3 HoloToolkit.Unity.Int3.left = new Int3(-1, 0, 0) |
|
static |
§ one
| readonly Int3 HoloToolkit.Unity.Int3.one = new Int3(1, 1, 1) |
|
static |
§ right
| readonly Int3 HoloToolkit.Unity.Int3.right = new Int3(1, 0, 0) |
|
static |
§ up
| readonly Int3 HoloToolkit.Unity.Int3.up = new Int3(0, 1, 0) |
|
static |
| int HoloToolkit.Unity.Int3.x |
| int HoloToolkit.Unity.Int3.y |
| int HoloToolkit.Unity.Int3.z |
§ zero
| readonly Int3 HoloToolkit.Unity.Int3.zero = new Int3(0, 0, 0) |
|
static |
§ dotOne
| int HoloToolkit.Unity.Int3.dotOne |
|
get |
§ magnitude
| float HoloToolkit.Unity.Int3.magnitude |
|
get |
§ sqrMagnitude
| int HoloToolkit.Unity.Int3.sqrMagnitude |
|
get |
§ this[int index]
| int HoloToolkit.Unity.Int3.this[int index] |
|
getset |
The documentation for this struct was generated from the following file:
- Assets/HoloToolkit/Common/Scripts/Int3.cs