createDefaultInstance

Create a new ViewModelInstance. Use Artboard::setViewModel to apply it.

Property values will be those of the instance marked as "Default" in the Rive editor.

Return

A new instance of the ViewModel with initial values supplied by the default instance.

Throws

If the default instance cannot be created.