panda3d.egg.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

Inheritance diagram of EggSwitchCondition

static getClassType() → TypeHandle
Return type

TypeHandle

makeCopy() → EggSwitchCondition
Return type

EggSwitchCondition

transform(mat: LMatrix4d) → None
write(out: ostream, indent_level: int) → None