interface IXrServiceEvents {
    controller:addInput: ((controller: IXrController) => void);
    controller:removeInput: ((controller: IXrController) => void);
}

Properties

controller:addInput: ((controller: IXrController) => void)

Triggered when an XrController's XrInputSource is added. The handler receives the XrController associated with the added XrInputSource.

controller:removeInput: ((controller: IXrController) => void)

Triggered when an XrController's XrInputSource is removed. The handler receives the XrController associated with the removed XrInputSource.