Trigger

class Trigger @JvmOverloads constructor(value: Float = 0.0f, var threshold: Float = 0.5f) : Toggleable

Represents the state of a trigger.

Constructors

Link copied to clipboard
constructor(value: Float = 0.0f, threshold: Float = 0.5f)

Properties

Link copied to clipboard
open override val lastState: Boolean
Link copied to clipboard
Link copied to clipboard
open override val state: Boolean
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun update(newValue: Float)