create Default State Machine
Create the default state machine for the given artboard. This is the state machine marked "Default" in the Rive editor.
ℹ️ State machines are initialized to the "design" state upon creation, which is almost never the desired starting point for runtime use. Additionally, the Entry state absorbs the first advance call due to not tracking the remaining advance time after exiting.
For these reasons, you will almost always want to advance the state machine by 0ns after binding view models and before your first real advance call to allow it to settle into its initial "animated" state.
Return
The handle of the created state machine.
Parameters
artboard Handle
The handle of the artboard that owns the state machine.
Throws
If the CommandQueue has been released.