InstanceList
from panda3d.core import InstanceList
- class InstanceList
Bases:
CopyOnWriteObject
This structure stores a list of per-instance data, used by InstancedNode.
New in version 1.11.0.
Inheritance diagram
- class Instance
Bases:
DTOOL_SUPER_BASE
An individual instance in an InstanceList.
New in version 1.11.0.
- __init__(*args, **kwargs)
- setHpr()
C++ Interface: set_hpr(const Instance self, const LVecBase3f param0) set_hpr(const Instance self, float h, float p, float r)
- setPos()
C++ Interface: set_pos(const Instance self, const LPoint3f param0) set_pos(const Instance self, float x, float y, float z)
- setScale()
C++ Interface: set_scale(const Instance self, const LVecBase3f param0) set_scale(const Instance self, float sx, float sy, float sz)
- setTransform()
C++ Interface: set_transform(const Instance self, const TransformState param0)
- /**
*/
- set_hpr()
C++ Interface: set_hpr(const Instance self, const LVecBase3f param0) set_hpr(const Instance self, float h, float p, float r)
- set_pos()
C++ Interface: set_pos(const Instance self, const LPoint3f param0) set_pos(const Instance self, float x, float y, float z)
- set_scale()
C++ Interface: set_scale(const Instance self, const LVecBase3f param0) set_scale(const Instance self, float sx, float sy, float sz)
- set_transform()
C++ Interface: set_transform(const Instance self, const TransformState param0)
- /**
*/
- transform
- __init__(*args, **kwargs)
- append()
C++ Interface: append(const InstanceList self, const LPoint3f pos) append(const InstanceList self, const TransformState transform) append(const InstanceList self, Instance instance) append(const InstanceList self, const LPoint3f pos, const LQuaternionf quat, const LVecBase3f scale) append(const InstanceList self, const LPoint3f pos, const LVecBase3f hpr, const LVecBase3f scale)
- getClassType()
C++ Interface: get_class_type()
- get_class_type()
C++ Interface: get_class_type()