Overview
RiveSMIInput is the base class for all State Machine input types. It provides common functionality for identifying and working with inputs in Rive state machines.
All input types inherit from this class:
- RiveSMIBool - Boolean inputs
- RiveSMINumber - Number inputs
- RiveSMITrigger - Trigger inputs
Type Checking Methods
name
NSString
isBoolean
true if the input is a RiveSMIBool, false otherwise
isTrigger
true if the input is a RiveSMITrigger, false otherwise
isNumber
true if the input is a RiveSMINumber, false otherwise