panda3d.egg.EggSwitchConditionDistance

from panda3d.egg import EggSwitchConditionDistance
class EggSwitchConditionDistance

Bases: EggSwitchCondition

A SwitchCondition that switches the levels-of-detail based on distance from the camera’s eyepoint.

Inheritance diagram

Inheritance diagram of EggSwitchConditionDistance

__init__(switch_in: float, switch_out: float, center: LPoint3d, fade: float) → None
static getClassType() → TypeHandle
Return type

TypeHandle