I’m working on a custom UI that involves a viewport and previewing how applying data from a curve table would look at different times. I wanted to be able to make use of the same widgets the AnimSequence uses for its timeline with play/pause, rewind, etc. However I discovered this was all in private folders in the Persona plugin.
It would be nice if these widgets could be used by another plugin, and I’d be able to define the callbacks for the buttons.
Talking with the dev team that is feasible. I would be curious what your end use case might look like? Depending on the complexity, we would recommend exposing more or less. Have you considered using the Sequencer Transport (SCinematicTransportRange) instead?
Mainly I want the options to play/pause, rewind to different points on the curve table. I liked the slider with a line going down overtop the curves to see where it is along each of the curves.
I’ve been able to have some success making my own TransportControl, but I don’t know how to accomplish the same kind of slider.
If you’d like to take a look at the sequence example I mentioned, have a look at the files ITimeSliderController and ISequencerWidgetsModule::CreateTimeSlider. This is what we are using for new time control editors.