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

Inheritance diagram of InstancedNode

explicit InstancedNode(std::string const &name)
static TypeHandle get_class_type(void)