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 get_class_type() TypeHandle
get_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.

get_fade_bin_name() str

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

get_fade_state_override() 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.

get_fade_time() float

get the time taken to complete an LOD switch

set_fade_bin(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.

set_fade_state_override(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.

set_fade_time(t: float)

set the time taken to complete an LOD switch