Lens Scripting API
    • Creates callbacks to be passed to UI Kit events from a script in the Inspector panel.

      Type Parameters

      • T

      Parameters

      • scriptComponent: ScriptComponent

        the script to be used.

      • functionNames: string[]

        the names of the functions within the script to be invoked during this callback.

      Returns (args: T) => void

      a callback that will invoke the specified functions in the script provided.

    MMNEPVFCICPMFPCPTTAAATR