W-CF Documentation - v11.0.0
    Preparing search index...
    Index
    pointerPosition: Vector2

    The last known position of the pointer. Will be updated with every incoming pointer event.

    pointers: Map<number, PointerInfo>
    pointerType: string

    The last known pointer type. Will be updated with every incoming pointer event.

    • Parameters

      • pPointerId: number

      Returns boolean

    • Returns true if there is currently no active pointer and the event belongs to a mouse device.

      Parameters

      • pEvent: PointerEvent

      Returns boolean

    • Returns true if the pointerId of the given event belongs to the currently only active pointer and in case of a mouse device it has to be the left mouse button.

      Parameters

      • pEvent: PointerEvent

      Returns boolean

    • Parameters

      • pEvent: PointerEvent

      Returns boolean

    • Returns void

    • Parameters

      • pEvent: PointerEvent

      Returns boolean