Engine API Reference - v2.9.1
    Preparing search index...

    Class SingleGestureSourceAlpha

    Single gesture input source.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    _element: null | HTMLElement = null
    deltas: { doubleTap: InputDelta; input: InputDelta } = ...

    Type declaration

    • doubleTap: InputDelta

      The double tap delta.

    • input: InputDelta

      The input deltas, represented as an array of [x, y] coordinates.

    Accessors

    Methods

    • Alpha

      Fires an event with the given name and arguments.

      Parameters

      • event: string

        The event name to fire.

      • ...args: any[]

        The arguments to pass to the event listeners.

      Returns void