Interface XRControllerEvent

interface XRControllerEvent {
    buttons: {
        A: boolean;
        B: boolean;
        LeftPinch: boolean;
        LeftTrigger: boolean;
        RightPinch: boolean;
        RightTrigger: boolean;
        X: boolean;
        Y: boolean;
    };
    defaultPrevented: boolean;
    left: {
        axes: {
            down: number;
            left: number;
            right: number;
            up: number;
        };
        deltaTime: number;
        raycaster: Raycaster;
    };
    right: {
        axes: {
            down: number;
            left: number;
            right: number;
            up: number;
        };
        deltaTime: number;
        raycaster: Raycaster;
    };
    timeStamp: number;
    type: string;
    preventDefault(): void;
}

Hierarchy (view full)

Properties

buttons: {
    A: boolean;
    B: boolean;
    LeftPinch: boolean;
    LeftTrigger: boolean;
    RightPinch: boolean;
    RightTrigger: boolean;
    X: boolean;
    Y: boolean;
}
defaultPrevented: boolean
left: {
    axes: {
        down: number;
        left: number;
        right: number;
        up: number;
    };
    deltaTime: number;
    raycaster: Raycaster;
}
right: {
    axes: {
        down: number;
        left: number;
        right: number;
        up: number;
    };
    deltaTime: number;
    raycaster: Raycaster;
}
timeStamp: number
type: string

Methods