Interface GestureEvent

interface GestureEvent {
    center: {
        buttons: number;
        coords: Vector2;
        delta: number;
        raycaster: Raycaster;
        x: number;
        y: number;
    };
    defaultPrevented: boolean;
    isFinal: boolean;
    isFirst: boolean;
    overallVelocityX: number;
    overallVelocityY: number;
    pointerType:
        | "touch"
        | "pen"
        | "mouse"
        | "kinect";
    pointers: {
        buttons: number;
        coords: Vector2;
        delta: number;
        raycaster: Raycaster;
        x: number;
        y: number;
    }[];
    scale: number;
    srcEvent: MouseEvent | TouchEvent | PointerEvent;
    state: State;
    target: EventTarget;
    timeStamp: number;
    type: string;
    userAction: boolean;
    velocityX: number;
    velocityY: number;
    preventDefault(): void;
}

Hierarchy (view full)

Properties

center: {
    buttons: number;
    coords: Vector2;
    delta: number;
    raycaster: Raycaster;
    x: number;
    y: number;
}
defaultPrevented: boolean
isFinal: boolean
isFirst: boolean
overallVelocityX: number
overallVelocityY: number
pointerType:
    | "touch"
    | "pen"
    | "mouse"
    | "kinect"
pointers: {
    buttons: number;
    coords: Vector2;
    delta: number;
    raycaster: Raycaster;
    x: number;
    y: number;
}[]
scale: number
srcEvent: MouseEvent | TouchEvent | PointerEvent
state: State
target: EventTarget
timeStamp: number
type: string
userAction: boolean
velocityX: number
velocityY: number

Methods