LVector4d

from panda3d.core import LVector4d
class LVector4d

Bases: LVecBase4d

This is a four-component vector distance.

Inheritance diagram

Inheritance diagram of LVector4d

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

getXy()

C++ Interface: get_xy(LVector4d self)

/**
  • Returns the x and y component of this vector

*/

getXyz()

C++ Interface: get_xyz(LVector4d self)

/**
  • Returns the x, y and z component of this vector

*/

get_class_type()

C++ Interface: get_class_type()

get_xy()

C++ Interface: get_xy(LVector4d self)

/**
  • Returns the x and y component of this vector

*/

get_xyz()

C++ Interface: get_xyz(LVector4d self)

/**
  • Returns the x, y and z component of this vector

*/

normalized()

C++ Interface: normalized(LVector4d self)

/**
  • 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.

*/

project()

C++ Interface: project(LVector4d self, const LVecBase4d onto)

/**
  • Returns a new vector representing the projection of this vector onto

  • another one. The resulting vector will be a scalar multiple of onto.

*/

unitW()

C++ Interface: unit_w()

/**
  • Returns a unit W vector.

*/

unitX()

C++ Interface: unit_x()

/**
  • Returns a unit X vector.

*/

unitY()

C++ Interface: unit_y()

/**
  • Returns a unit Y vector.

*/

unitZ()

C++ Interface: unit_z()

/**
  • Returns a unit Z vector.

*/

unit_w()

C++ Interface: unit_w()

/**
  • Returns a unit W vector.

*/

unit_x()

C++ Interface: unit_x()

/**
  • Returns a unit X vector.

*/

unit_y()

C++ Interface: unit_y()

/**
  • Returns a unit Y vector.

*/

unit_z()

C++ Interface: unit_z()

/**
  • Returns a unit Z vector.

*/

xy
xyz
zero()

C++ Interface: zero()

/**
  • Returns a zero-length vector.

*/