Struct Int3 Extends System::IEquatable<Int3>
Public
Holds a coordinate in integers.
Public Methods
Equals
(obj)
Public
Equals
(other)
Public
GetHashCode
()
Public
Int3
(position)
Public
Int3
(_x, _y, _z)
Public
Normal2D
()
Normal in 2D space (XZ).
Public
ToString
()
Returns a nicely formatted string representing the vector.
Public
Public Static Methods
Angle
(lhs, rhs)
Angle between the vectors in radians.
Public
Static
Dot
(lhs, rhs)
Public
Static
DotLong
(lhs, rhs)
Public
Static
Max
(lhs, rhs)
Public
Static
Min
(lhs, rhs)
Public
Static
operator Int3
(ob)
Public
Static
operator Vector3
(ob)
Public
Static
operator float3
(ob)
Public
Static
operator int3
(ob)
Public
Static
operator string
(obj)
Public
Static
operator!=
(lhs, rhs)
Public
Static
operator*
(lhs, rhs)
Public
Static
operator*
(lhs, rhs)
Public
Static
operator*
(lhs, rhs)
Public
Static
operator+
(lhs, rhs)
Public
Static
operator-
(lhs, rhs)
Public
Static
operator-
(lhs)
Public
Static
operator/
(lhs, rhs)
Public
Static
operator==
(lhs, rhs)
Public
Static
Public Variables
costMagnitude
Magnitude used for the cost between two nodes.
Public
magnitude
Returns the magnitude of the vector.
Public
sqrMagnitude
The squared magnitude of the vector.
Public
sqrMagnitudeLong
The squared magnitude of the vector.
Public
this[int i]
Public
x
Public
y
Public
z
Public
Public Static Variables
Precision
Precision for the integer coordinates.
Public
Static
zero
Public
Static