set View Model Instance
Assigns the given view model instance to the nested view model property on this view model instance.
ℹ️ Changes to bound Rive elements will not be reflected until the next state machine advance.
Once the nested view model instance is added to the view model property, you do not need to keep your reference to it. The parent view model instance maintains its own native reference to the nested instance.
If you created the view model instance manually (for example via ViewModelInstance.fromFile), you may close it to release your reference once you no longer need that view model instance elsewhere.
If you used rememberViewModelInstance, do not close it manually. It is closed automatically when the Composable leaves composition.
Parameters
The path to the view model property from this view model instance. Slash delimited to refer to nested properties.
The view model instance to assign to the property.