processPointerDown(interactionEvent, displayObject, hit)
    {
        const e = interactionEvent.data.originalEvent;

        const id = interactionEvent.data.identifier;

        if (hit)
        {
            if (!displayObject.trackedPointers[id])
            {
                displayObject.trackedPointers[id] = new InteractionTrackingData(id);
            }
            this.dispatchEvent(displayObject, 'pointerdown', interactionEvent);

            if (e.type === 'touchstart' || e.pointerType === 'touch')
            {
                this.dispatchEvent(displayObject, 'touchstart', interactionEvent);
            }
            else if (e.type === 'mousedown' || e.pointerType === 'mouse')
            {
                const isRightButton = e.button === 2 || e.which === 3;

                if (isRightButton)
                {
                    displayObject.trackedPointers[id].rightDown = true;
                }
                else
                {
                    displayObject.trackedPointers[id].leftDown = true;
                }

                this.dispatchEvent(displayObject, isRightButton ? 'rightdown' : 'mousedown', interactionEvent);
            }
        }
    }
/**
     * Processes the result of the pointer down check and dispatches the event if need be
     *
     * @private
     * @param {InteractionEvent} interactionEvent - The interaction event wrapping the DOM event
     * @param {PIXI.Container|PIXI.Sprite|PIXI.extras.TilingSprite} displayObject - The display object that was tested
     * @param {boolean} hit - the result of the hit test on the display object
     */
Processes the result of the pointer down check and dispatches the event if need be
@private
@param {InteractionEvent} interactionEvent - The interaction event wrapping the DOM event
@param {PIXI.Container|PIXI.Sprite|PIXI.extras.TilingSprite} displayObject - The display object that was tested
@param {boolean} hit - the result of the hit test on the display object
Processes the result of the pointer down check and dispatches the event if need be @private @param { InteractionEvent } interactionEvent - The interaction event wrapping the DOM event @param { PIXI . Container|PIXI . Sprite|PIXI . extras . TilingSprite } displayObject - The display object that was tested @param { boolean } hit - the result of the hit test on the display object
processPointerDown(interactionEvent, displayObject, hit)
    {
        const e = interactionEvent.data.originalEvent;
        const id = interactionEvent.data.identifier;
        if (hit)
        {
            if (!displayObject.trackedPointers[id])
            {
                displayObject.trackedPointers[id] = new InteractionTrackingData(id);
            }
            this.dispatchEvent(displayObject, 'pointerdown', interactionEvent);
            if (e.type === 'touchstart' || e.pointerType === 'touch')
            {
                this.dispatchEvent(displayObject, 'touchstart', interactionEvent);
            }
            else if (e.type === 'mousedown' || e.pointerType === 'mouse')
            {
                const isRightButton = e.button === 2 || e.which === 3;
                if (isRightButton)
                {
                    displayObject.trackedPointers[id].rightDown = true;
                }
                else
                {
                    displayObject.trackedPointers[id].leftDown = true;
                }
                this.dispatchEvent(displayObject, isRightButton ? 'rightdown' : 'mousedown', interactionEvent);
            }
        }
    }
processPointerDown ( interactionEvent , displayObject , hit ) { const e = interactionEvent . data . originalEvent ; const id = interactionEvent . data . identifier ; if ( hit ) { if ( ! displayObject . trackedPointers [ id ] ) { displayObject . trackedPointers [ id ] = new InteractionTrackingData ( id ) ; } this . dispatchEvent ( displayObject , 'pointerdown' , interactionEvent ) ; if ( e . type === 'touchstart' || e . pointerType === 'touch' ) { this . dispatchEvent ( displayObject , 'touchstart' , interactionEvent ) ; } else if ( e . type === 'mousedown' || e . pointerType === 'mouse' ) { const isRightButton = e . button === 2 || e . which === 3 ; if ( isRightButton ) { displayObject . trackedPointers [ id ] . rightDown = true ; } else { displayObject . trackedPointers [ id ] . leftDown = true ; } this . dispatchEvent ( displayObject , isRightButton ? 'rightdown' : 'mousedown' , interactionEvent ) ; } } }
Processes the result of the pointer down check and dispatches the event if need be
 @private
 @param {InteractionEvent} interactionEvent - The interaction event wrapping the DOM event
 @param {PIXI.Container|PIXI.Sprite|PIXI.extras.TilingSprite} displayObject - The display object that was tested
 @param {boolean} hit - the result of the hit test on the display object
Processes the result of the pointer down check and dispatches the event if need be @private @param { InteractionEvent } interactionEvent - The interaction event wrapping the DOM event @param { PIXI . Container|PIXI . Sprite|PIXI . extras . TilingSprite } displayObject - The display object that was tested @param { boolean } hit - the result of the hit test on the display object