panda3d.core.UnalignedLVecBase4i

class UnalignedLVecBase4i

This is an “unaligned” LVecBase4. It has no functionality other than to store numbers, and it will pack them in as tightly as possible, avoiding any SSE2 alignment requirements shared by the primary LVecBase4 class.

Use it only when you need to pack numbers tightly without respect to alignment, and then copy it to a proper LVecBase4 to get actual use from it.

Inheritance diagram

Inheritance diagram of UnalignedLVecBase4i

__init__() → None
__init__(copy: LVecBase4i) → None
__init__(param0: UnalignedLVecBase4i) → None
__init__(fill_value: int) → None
__init__(x: int, y: int, z: int, w: int) → None
fill(fill_value: int) → None

Sets each element of the vector to the indicated fill_value. This is particularly useful for initializing to zero.

set(x: int, y: int, z: int, w: int) → None
static size() → int
getData() → None

Returns the address of the first of the three data elements in the vector. The remaining elements occupy the next positions consecutively in memory.

static getNumComponents() → int
static getClassType() → TypeHandle
Return type

TypeHandle