UnalignedLMatrix4d

from panda3d.core import UnalignedLMatrix4d
class UnalignedLMatrix4d

Bases:

This is an “unaligned” LMatrix4. 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 LMatrix4 class.

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

Inheritance diagram

Inheritance diagram of UnalignedLMatrix4d

__call__(row: int, col: int)
__call__(row: int, col: int) float
__eq__(other: UnalignedLMatrix4d) bool
__init__()
__init__(copy: LMatrix4d)
__init__(copy: UnalignedLMatrix4d)
__init__(e00: float, e01: float, e02: float, e03: float, e10: float, e11: float, e12: float, e13: float, e20: float, e21: float, e22: float, e23: float, e30: float, e31: float, e32: float, e33: float)
__ne__(other: UnalignedLMatrix4d) bool
assign(copy: LMatrix4d) UnalignedLMatrix4d
assign(copy: UnalignedLMatrix4d) UnalignedLMatrix4d
static get_class_type() TypeHandle
get_data()

Returns the address of the first of the nine data elements in the matrix. The remaining elements occupy the next eight positions in row-major order.

get_num_components() int

Returns the number of elements in the matrix, sixteen.

set(e00: float, e01: float, e02: float, e03: float, e10: float, e11: float, e12: float, e13: float, e20: float, e21: float, e22: float, e23: float, e30: float, e31: float, e32: float, e33: float)