This is a morph slider within the character. More...
Public Member Functions | |
CharacterSlider (PartGroup parent, string name) | |
bool | updateInternals (PartBundle root, PartGroup parent, bool self_changed, bool parent_changed, Thread current_thread) |
This is called by do_update() whenever the part or some ancestor has changed values. | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
This is a morph slider within the character.
It's simply a single floating-point value that animates generally between 0 and 1, that controls the effects of one or more morphs within the character.
CharacterSlider | ( | PartGroup | parent, |
string | name | ||
) |
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from MovingPartScalar.
bool updateInternals | ( | PartBundle | root, |
PartGroup | parent, | ||
bool | self_changed, | ||
bool | parent_changed, | ||
Thread | current_thread | ||
) |
This is called by do_update() whenever the part or some ancestor has changed values.
It is a hook for derived classes to update whatever cache they may have that depends on these.
The return value is true if the part has changed as a result of the update, or false otherwise.