LVector4f¶
-
class LVector4f¶
Bases:
LVecBase4fThis is a four-component vector distance.
Inheritance diagram
digraph inheritance1cc01b367f { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "LVecBase4f" [URL="acron.core.LVecBase4f.html#acron.core.LVecBase4f",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "LVecBase4f" [arrowsize=0.75,style=""]; "LVector4f" [URL="acron.core.LVector4f.html#acron.core.LVector4f",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "LVecBase4f" -> "LVector4f" [arrowsize=0.75,style=""]; }- LVector4f.__add__()¶
- LVector4f.__div__()¶
- LVector4f.__getattr__()¶
- LVector4f.__init__()¶
- LVector4f.__mul__()¶
- LVector4f.__repr__()¶
- LVector4f.__rmul__()¶
- LVector4f.__setattr__()¶
- LVector4f.__sub__()¶
- LVector4f.__sub__()¶
- static LVector4f.get_class_type()¶
- LVector4f.get_xy()¶
Returns the x and y component of this vector
- LVector4f.get_xyz()¶
Returns the x, y and z component of this vector
- LVector4f.normalized()¶
Normalizes the vector and returns the normalized vector as a copy. If the vector was a zero-length vector, a zero length vector will be returned.
- LVector4f.project()¶
Returns a new vector representing the projection of this vector onto another one. The resulting vector will be a scalar multiple of onto.
- static LVector4f.unit_w()¶
Returns a unit W vector.
- static LVector4f.unit_x()¶
Returns a unit X vector.
- static LVector4f.unit_y()¶
Returns a unit Y vector.
- static LVector4f.unit_z()¶
Returns a unit Z vector.
- static LVector4f.zero()¶
Returns a zero-length vector.