A Level-of-Detail node with alpha based switching. More...
Public Member Functions | |
FadeLODNode (string name) | |
int | getFadeBinDrawOrder () |
Returns the draw order that is assigned (along with the bin name) to the fading part of the geometry during a transition. | |
string | getFadeBinName () |
Returns the cull bin that is assigned to the fading part of the geometry during a transition. | |
int | getFadeStateOverride () |
Returns the override value that is applied to the state changes necessary to apply the fade effect. | |
float | getFadeTime () |
get the time taken to complete an LOD switch | |
setFadeBin (string 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 (int override) | |
Specifies the override value that is applied to the state changes necessary to apply the fade effect. | |
setFadeTime (float t) | |
set the time taken to complete an LOD switch | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
A Level-of-Detail node with alpha based switching.
FadeLODNode | ( | string | name | ) |
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from LODNode.
Returns the draw order that is assigned (along with the bin name) to the fading part of the geometry during a transition.
string getFadeBinName | ( | ) |
Returns the cull bin that is assigned to the fading part of the geometry during a transition.
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.
float getFadeTime | ( | ) |
get the time taken to complete an LOD switch
setFadeBin | ( | string | 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 | ( | 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 | ( | float | t | ) |
set the time taken to complete an LOD switch