Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
CharacterSlider Class Reference

This is a morph slider within the character. More...

Inheritance diagram for CharacterSlider:
MovingPartScalar MovingPartACScalarSwitchType MovingPartBase PartGroup TypedWritableReferenceCount Namable TypedWritable ReferenceCount TypedObject

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

CharacterSlider ( PartGroup  parent,
string  name 
)

Member Function Documentation

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.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties