LVector3i
-
class LVector3i
Bases:
LVecBase3iThis is a three-component vector distance (as opposed to a three-component point, which represents a particular point in space). Some of the methods are slightly different between
LPoint3andLVector3; in particular, subtraction of two points yields a vector, while addition of a vector and a point yields a point.Inheritance diagram
- LVector3i.__add__()
- LVector3i.__div__()
- LVector3i.__getattr__()
- LVector3i.__init__()
- LVector3i.__mul__()
- LVector3i.__repr__()
- LVector3i.__rmul__()
- LVector3i.__setattr__()
- LVector3i.__sub__()
- LVector3i.__sub__()
- static LVector3i.back()
Returns the back vector for the given coordinate system.
- LVector3i.cross()
- static LVector3i.down()
Returns the down vector for the given coordinate system.
- static LVector3i.forward()
Returns the forward vector for the given coordinate system.
- static LVector3i.get_class_type()
- LVector3i.get_xy()
Returns a 2-component vector that shares just the first two components of this vector.
- LVector3i.get_xz()
Returns a 2-component vector that shares just the first and last components of this vector.
- LVector3i.get_yz()
Returns a 2-component vector that shares just the last two components of this vector.
- static LVector3i.left()
Returns the left vector for the given coordinate system.
- static LVector3i.rfu()
INLINE_LINMATH static FLOATNAME(LVector3) & rfu(FLOATTYPE right,
Returns a vector that is described by its right, forward, and up components, in whatever way the coordinate system represents that vector.
- static LVector3i.right()
Returns the right vector for the given coordinate system.
- static LVector3i.unit_x()
Returns a unit X vector.
- static LVector3i.unit_y()
Returns a unit Y vector.
- static LVector3i.unit_z()
Returns a unit Z vector.
- static LVector3i.up()
Returns the up vector for the given coordinate system.
- static LVector3i.zero()
Returns a zero-length vector.
