create Instance From Name
Create a new ViewModelInstance. Use Artboard::setViewModel to apply it.
Useful when the Rive file has a set of default property values that you want to initialize with.
Return
A new instance of the ViewModel with initial values supplied by the named instance.
Parameters
name
Rive file name for this instance.
Throws
If the instance is not found.