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

makeCopy() → EggSwitchCondition
Return type

EggSwitchCondition

write(out: ostream, indent_level: int) → None
transform(mat: LMatrix4d) → None
static getClassType() → TypeHandle
Return type

TypeHandle