class AnimVec2

The AnimVec2 class represents an animated sequence of 2D vector values.

Member Functions

void SetValue()

Set the value at a given frame.

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

LM_Vector2 GetValue()

Return the value of this channel at a given frame.

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

Member Variables

value (LM_Vector2)

The current value of the channel.

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