# EggSwitchCondition¶

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

static getClassType()panda3d.core.TypeHandle
makeCopy()EggSwitchCondition
transform(mat: panda3d.core.LMatrix4d)None
write(out: panda3d.core.ostream, indent_level: int)None