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__(*args, **kwargs)
fade_bin_draw_order
fade_bin_name
fade_state_override
fade_time
getClassType()

C++ Interface: get_class_type()

getFadeBinDrawOrder()

C++ Interface: get_fade_bin_draw_order(FadeLODNode self)

/**
  • Returns the draw order that is assigned (along with the bin name) to the

  • fading part of the geometry during a transition.

*/

getFadeBinName()

C++ Interface: get_fade_bin_name(FadeLODNode self)

/**
  • Returns the cull bin that is assigned to the fading part of the geometry

  • during a transition.

*/

getFadeStateOverride()

C++ Interface: get_fade_state_override(FadeLODNode self)

/**
  • 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()

C++ Interface: get_fade_time(FadeLODNode self)

/**
  • get the time taken to complete an LOD switch

*/

get_class_type()

C++ Interface: get_class_type()

get_fade_bin_draw_order()

C++ Interface: get_fade_bin_draw_order(FadeLODNode self)

/**
  • 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()

C++ Interface: get_fade_bin_name(FadeLODNode self)

/**
  • Returns the cull bin that is assigned to the fading part of the geometry

  • during a transition.

*/

get_fade_state_override()

C++ Interface: get_fade_state_override(FadeLODNode self)

/**
  • 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()

C++ Interface: get_fade_time(FadeLODNode self)

/**
  • get the time taken to complete an LOD switch

*/

setFadeBin()

C++ Interface: set_fade_bin(const FadeLODNode self, str name, int draw_order)

/**
  • Specifies the cull bin and draw order that is assigned to the fading part

  • of the geometry during a transition.

*/

setFadeStateOverride()

C++ Interface: set_fade_state_override(const FadeLODNode self, int override)

/**
  • 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()

C++ Interface: set_fade_time(const FadeLODNode self, float t)

/**
  • set the time taken to complete an LOD switch

*/

set_fade_bin()

C++ Interface: set_fade_bin(const FadeLODNode self, str name, int draw_order)

/**
  • Specifies the cull bin and draw order that is assigned to the fading part

  • of the geometry during a transition.

*/

set_fade_state_override()

C++ Interface: set_fade_state_override(const FadeLODNode self, int override)

/**
  • 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()

C++ Interface: set_fade_time(const FadeLODNode self, float t)

/**
  • set the time taken to complete an LOD switch

*/