class AnimBool

The AnimBool class represents an animated sequence of on/off values.

Member Functions

void SetValue(when, val)

Set the value at a given frame.

Return value: none
when (int): frame number
val (bool): the value to set

bool GetValue(frame)

Return the value of this channel at a given frame.

Return value (bool): value at the given frame
when (int): frame number

Member Variables

value (bool)

The current value of the channel.

class AnimBool : public AnimChannel {
  void SetValue(int32 when, bool val);
  bool GetValue(int32 when);
 
  void SetValueByID(int32 id, bool val);
  bool GetValueByID(int32 id);
 
  bool  value;
};