FadeLODNode

class FadeLODNode

Bases: LODNode

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

Inheritance diagram

Inheritance diagram of FadeLODNode

explicit FadeLODNode(std::string const &name)
static TypeHandle get_class_type(void)
int get_fade_bin_draw_order(void) const

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

std::string const &get_fade_bin_name(void) const

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

int get_fade_state_override(void) const

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.

PN_stdfloat get_fade_time(void) const

get the time taken to complete an LOD switch

void set_fade_bin(std::string const &name, int draw_order)

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

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

void set_fade_time(PN_stdfloat t)

set the time taken to complete an LOD switch