Want to be able to use SAnimTimeline and related widgets in my own custom widgets

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.

Hey there,

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?

Dustin

That could potentially be useful.

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.

OK, I’ve logged an issue you can follow here: https://issues.unrealengine.com/issue/UE-324838. It will take a little bit for it to show up.

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.

Dustin

Ok, I’ll take a look at that.

To be more specific on what widgets I’d like to be able to use: SAnimTimeline, SAnimTrackArea, and SAnimTrack.

Sounds good, I’ll edit the issue above to have all 3.