InstanceList
from panda3d.core import InstanceList
- class InstanceList
Bases:
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:
An individual instance in an
InstanceList
.New in version 1.11.0.
- get_quat() LQuaternion
- get_transform() TransformState
- set_quat(param0: LQuaternion)
- set_transform(param0: TransformState)
- property transform TransformState
- __init__()
- __init__(copy: InstanceList)
- append(pos: LPoint3, quat: LQuaternion, scale: LVecBase3)
Adds a new instance with the indicated transformation to the list.
- append(pos: LPoint3, hpr: LVecBase3, scale: LVecBase3)
Adds a new instance with the indicated transformation to the list.
- append(transform: TransformState)
Adds a new instance with the indicated transformation to the list.
- clear()
Empties the instance list.
- static get_class_type() TypeHandle