libvisual icon indicating copy to clipboard operation
libvisual copied to clipboard

LV: Replacement for LV::Bin: LV::Sequence

Open kaixiong opened this issue 13 years ago • 2 comments
trafficstars

Proposed API:

class Sequence {
public:

  // Constructor
  VisSequence ();

  // Destructor
  ~VisSequence ();

  // Run
  void run ();

  // Set input driver
  bool set_input (std::string const& input_name);

  // Set actor (immediate change, no transitions)
  bool set_actor (std::string const& actor_name);

  // Set actor (transition with a morph plugin in the given time)
  bool set_actor (std::string const& actor_name, Time const& time, std::string const& morph_name);
};

kaixiong avatar Apr 23 '12 05:04 kaixiong

I propose using VisDirector instead (VisSequence doesn't really cover the "contains everything" meaning of "bin")

rigid avatar Jan 24 '13 21:01 rigid

Updated the proposed API.

LV::Sequence must not be thought of as a container ('bin') of any kind. The rename is only done because there is much shared code with LV::Bin.

kaixiong avatar Jan 25 '13 22:01 kaixiong