panda3d.core.LVector4i

from panda3d.core import LVector4i
class LVector4i

Bases: LVecBase4i

This is a four-component vector distance.

Inheritance diagram

Inheritance diagram of LVector4i

__init__() → None
__init__(copy: LVecBase3i, w: int) → None
__init__(copy: LVecBase4i) → None
__init__(param0: LVector4i) → None
__init__(fill_value: int) → None
__init__(x: int, y: int, z: int, w: int) → None
static getClassType() → TypeHandle
Return type

TypeHandle

getXy() → LVector2i

Returns the x and y component of this vector

Return type

LVector2i

getXyz() → LVector3i

Returns the x, y and z component of this vector

Return type

LVector3i

static unitW() → LVector4i

Returns a unit W vector.

Return type

LVector4i

static unitX() → LVector4i

Returns a unit X vector.

Return type

LVector4i

static unitY() → LVector4i

Returns a unit Y vector.

Return type

LVector4i

static unitZ() → LVector4i

Returns a unit Z vector.

Return type

LVector4i

property xy

Returns the x and y component of this vector

Return type

LVector2i

property xyz

Returns the x, y and z component of this vector

Return type

LVector3i

static zero() → LVector4i

Returns a zero-length vector.

Return type

LVector4i