from panda3d.core import LRotationf
class LRotationf

Bases: LQuaternionf

This is a unit quaternion representing a rotation.

Inheritance diagram

Inheritance diagram of LRotationf

__div__(scalar: float)LRotationf
__init__(m: LMatrix3f)


__init__(m: LMatrix4f)


__init__(c: LQuaternionf)
__init__(param0: LRotationf)
__init__(copy: LVecBase4f)
__init__(axis: LVector3f, angle: float)

axis + angle (in degrees)

__init__(h: float, p: float, r: float)

Sets the rotation from the given Euler angles.

__init__(r: float, i: float, j: float, k: float)
__mul__(other: LQuaternionf)LQuaternionf
__mul__(other: LRotationf)LRotationf
__mul__(scalar: float)LRotationf
static getClassType()TypeHandle