InstancedNode
from panda3d.core import InstancedNode
- class InstancedNode
Bases:
PandaNode
This is a special node that instances its contents using a list of transforms that get applied on top of the node’s own transform. This is a bit more limited than the regular instance_to mechanism, but it is a better choice for hardware instancing.
For best performance, it is highly recommended to flatten the nodes under this (by calling flatten_strong()), since culling will not be performed for individual sub-nodes under each instance.
New in version 1.11.0.
Inheritance diagram
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- get_class_type()
C++ Interface: get_class_type()
- instances