SMITrigger class

A trigger StateMachine input instance. Use the fire method to change the input which will automatically re-activate the StateMachineController if necessary.

Inheritance

Properties

controller StateMachineController
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id int
The id of the input within the context of the StateMachine it belongs to.
no setterinherited
name String
The name given to this input at design time in Rive.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type SMIType
finalinherited
value bool
getter/setter pairinherited

Methods

advance() → void
override
change(bool value) bool
Convenience method for changing the backing SMIInput.value of the input. For SMITrigger it's usually preferable to use the SMITrigger.fire method to change the input value, but calling change(true) is totally valid.
inherited
fire() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited