State Machine Instance
The StateMachineInstance is a helper to wrap common operations to play a state machine.
This object has a counterpart in C++, which implements a lot of functionality. The unsafeCppPointer keeps track of this relationship.
Use this to keep track of a state machine's current state and progress, and to help apply changes that the state machine makes to components in an Artboard.
Parameters
Pointer to the C++ counterpart.
Lock shared by the File and native graph this state machine belongs to.
Properties
Getter/Setter for the underlying C++ pointer value.
Whether this objects underlying pointer is still valid.
The ViewModelInstance assigned to this state machine. Once assigned, modifications to the properties of the instance will be reflected in the bindings of this state machine.
Functions
Increments the references for this counter. Cannot be used for initialization - use refs.incrementAndGet instead.
Decrements the reference counter.
Get a specific state changed in the last advance.