Engine API Reference - v2.23.0-beta.17
    Preparing search index...

    Class InputDeltaAlpha

    Represents an input delta: a fixed-length array of numbers that accumulates input between reads. Sources append raw values to it as events arrive, and read returns the total and resets it to zero, so each read yields the change since the previous one. An InputFrame groups named deltas together.

    Index
    • Alpha

      The magnitude of the delta, calculated as the square root of the sum of squares of the values.

      Returns number

      • The magnitude of the delta.
    • Alpha

      Returns the current value of the delta and resets it to zero.

      Returns number[]

      • The current value of the delta.