-
- FrancoisRecisio
- Posts: 15
- Joined:
Pause Rive animations
Hello!
I have a quick question about RiveControl: is it possible to pause the current animation or state? I don't see anything in the documentation to do this.
Thank you :)
I have a quick question about RiveControl: is it possible to pause the current animation or state? I don't see anything in the documentation to do this.
Thank you :)
Re: Pause Rive animations
This is not supported right now.
The RiveControl is connected to the Rendering event of the view and that's automatically increasing time.
For now, you need to modify the source code of that control to support pause. At some point, I think we need to implement a way to control this with a Storyboard (like the MediaTimeline they have in WPF). If you don't mind, please create a ticket about this. Thanks.
The RiveControl is connected to the Rendering event of the view and that's automatically increasing time.
Code: Select all
void RiveControl::OnConnectToView(Noesis::IView* view)
{
ParentClass::OnConnectToView(view);
view->Rendering() += Noesis::MakeDelegate(this, &RiveControl::Advance);
}
-
- FrancoisRecisio
- Posts: 15
- Joined:
Re: Pause Rive animations
Sorry for the delay ! I created a ticket here: #3450
Re: Pause Rive animations
Thank you!
Who is online
Users browsing this forum: Google [Bot] and 9 guests