Interface WebXRSpaceEventMap

interface WebXRSpaceEventMap {
    select: {
        data: XRInputSource;
    };
    selectstart: {
        data: XRInputSource;
    };
    selectend: {
        data: XRInputSource;
    };
    squeeze: {
        data: XRInputSource;
    };
    squeezestart: {
        data: XRInputSource;
    };
    squeezeend: {
        data: XRInputSource;
    };
    connected: {
        data: XRInputSource;
    };
    disconnected: {
        data: XRInputSource;
    };
    pinchend: {
        handedness: XRHandedness;
        target: WebXRController;
    };
    pinchstart: {
        handedness: XRHandedness;
        target: WebXRController;
    };
    move: {};
    added: {};
    removed: {};
    childadded: {
        child: Object3D<Object3DEventMap>;
    };
    childremoved: {
        child: Object3D<Object3DEventMap>;
    };
}

Hierarchy (view full)

Properties

select: {
    data: XRInputSource;
}
selectstart: {
    data: XRInputSource;
}
selectend: {
    data: XRInputSource;
}
squeeze: {
    data: XRInputSource;
}
squeezestart: {
    data: XRInputSource;
}
squeezeend: {
    data: XRInputSource;
}
connected: {
    data: XRInputSource;
}
disconnected: {
    data: XRInputSource;
}
pinchend: {
    handedness: XRHandedness;
    target: WebXRController;
}
pinchstart: {
    handedness: XRHandedness;
    target: WebXRController;
}
move: {}
added: {}

Fires when the object has been added to its parent object.

removed: {}

Fires when the object has been removed from its parent object.

childadded: {
    child: Object3D<Object3DEventMap>;
}

Fires when a new child object has been added.

childremoved: {
    child: Object3D<Object3DEventMap>;
}

Fires when a new child object has been removed.