FadeLODNode

from panda3d.core import FadeLODNode
class FadeLODNode

Bases: LODNode

A Level-of-Detail node with alpha based switching.

Inheritance diagram

Inheritance diagram of FadeLODNode

__init__(name: str)
property fade_bin_draw_orderint

Returns the draw order that is assigned (along with the bin name) to the fading part of the geometry during a transition.

property fade_bin_name → string

Returns the cull bin that is assigned to the fading part of the geometry during a transition.

property fade_state_overrideint
Getter

Returns the override value that is applied to the state changes necessary to apply the fade effect. This should be larger than any attrib overrides on the fading geometry.

Setter

Specifies the override value that is applied to the state changes necessary to apply the fade effect. This should be larger than any attrib overrides on the fading geometry.

property fade_timefloat
Getter

get the time taken to complete an LOD switch

Setter

set the time taken to complete an LOD switch

static getClassType()TypeHandle
getFadeBinDrawOrder()int

Returns the draw order that is assigned (along with the bin name) to the fading part of the geometry during a transition.

getFadeBinName()str

Returns the cull bin that is assigned to the fading part of the geometry during a transition.

getFadeStateOverride()int

Returns the override value that is applied to the state changes necessary to apply the fade effect. This should be larger than any attrib overrides on the fading geometry.

getFadeTime()float

get the time taken to complete an LOD switch

setFadeBin(name: str, draw_order: int)None

Specifies the cull bin and draw order that is assigned to the fading part of the geometry during a transition.

setFadeStateOverride(override: int)None

Specifies the override value that is applied to the state changes necessary to apply the fade effect. This should be larger than any attrib overrides on the fading geometry.

setFadeTime(t: float)None

set the time taken to complete an LOD switch