from panda3d.egg import EggSwitchCondition
class EggSwitchCondition


Bases: EggObject

This corresponds to a <SwitchCondition> entry within a group. It indicates the condition at which a level-of-detail is switched in or out. This is actually an abstract base class for potentially any number of specific different kinds of switching conditions; presently, only a <Distance> type is actually supported.

Inheritance diagram

Inheritance diagram of EggSwitchCondition

static get_class_type() panda3d.core.TypeHandle
make_copy() EggSwitchCondition
transform(mat: panda3d.core.LMatrix4d)
write(out: panda3d.core.ostream, indent_level: int)