Lens Scripting API
    Index

    Constructors

    Properties

    a: number = 0
    initialized: boolean = false
    s: number
    y: number

    Methods

    • Applies a filter to a value.

      Parameters

      • value: number

        The value to filter.

      Returns any

      The filtered value after applying the specified alpha.

    • Applies a filter to a value with a specified alpha.

      Parameters

      • value: number

        The value to filter.

      • alpha: number

        The alpha level to set before filtering.

      Returns any

      The filtered value after applying the specified alpha.

    • Checks if the last raw value has been initialized or set.

      Returns boolean

      True if the last raw value is initialized; false otherwise.

    • Retrieves the last raw value stored.

      Returns number

      The last raw value if it has been set; undefined otherwise.

    • Resets the internal state to uninitialized.

      Returns void

    MMNEPVFCICPMFPCPTTAAATR