FadeLODNode

from panda3d.core import FadeLODNode
class FadeLODNode

Bases:

Bases: LODNode

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

Inheritance diagram

Inheritance diagram of FadeLODNode

__init__(name: str)
property fade_bin_draw_order int

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_override int

Returns/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_time float

get/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)

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

setFadeStateOverride(override: int)

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)

set the time taken to complete an LOD switch