|
AnimationControllerStartAnimation(Boolean) Method |
StartAnimation method starts the animation in this AnimationController. If the animation was paused, this method continues the animation (is the same as
ResumeAnimation method).
When the subscribeToRenderingEvent parameter is true (by default), then animation controller subscribes to the WPF's RenderingEvent
and automatically updates the animated objects by calling
GetFrameNumber and
GoToFrame(Double) methods.
If subscribeToRenderingEvent is false, user needs to manually call
GetFrameNumber or other methods to update the animated objects.
Namespace: Ab3d.AnimationAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public virtual void StartAnimation(
bool subscribeToRenderingEvent = true
)
Parameters
- subscribeToRenderingEvent Boolean (Optional)
- when true (by default) animation controller subscribes to the WPF's RenderingEvent and automatically updates the animated objects by calling GoToFrame method
See Also