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

 __init__ (PartGroup parent, string name)
 Creates the PartGroup, and adds it to the indicated parent.
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.


Member Function Documentation

__init__ ( PartGroup  parent,
string  name 
)

Creates the PartGroup, and adds it to the indicated parent.

The only way to delete it subsequently is to delete the entire hierarchy.

Reimplemented from PartGroup.

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.