class AnimVal

The AnimVal class represents an animated sequence of numerical values.

Member Functions

void SetValue()

Set the value at a given frame.

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

float GetValue()

Return the value of this channel at a given frame.

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

Member Variables

value (float)

The current value of the channel.

class AnimVal : public AnimChannel {
  void SetValue(int32 when, real val);
  real GetValue(int32 when);
  void SetValueByID(int32 id, real val);
  real GetValueByID(int32 id);
  real  value;