Interface IXrControllerEvents

interface IXrControllerEvents {
    add: ((inputSource: XrInputSource) => void);
    remove: ((inputSource: XrInputSource) => void);
}

Properties

Properties

add: ((inputSource: XrInputSource) => void)

Triggered when an XrInputSource is added to an XrController.

remove: ((inputSource: XrInputSource) => void)

Triggered when an XrInputSource is removed from an XrController.