安全上下文
此特征只可用于
安全上下文
(HTTPS),在某些或所有
支持浏览器
.
XRInputSourcesChangeEventInit
property
removed
is an array of zero or more
XRInputSource
objects, each representing one input source which has been removed from the
XRSession
.
let inputSourcesEventInit = {
session: xrSession,
added: [newDevice1, ..., newDeviceN],
removed: [removedDevice1, ..., newDeviceN],
};
myInputSourcesChangeEvent = new XRInputSourcesChangeEventInit("inputsourceschange", inputSourcesEventInit);
myInputSourcesChangeEvent = new XRInputSourcesChangeEventInit("inputsourceschange",
{
session: xrSession,
added: addedDeviceList,
removed: removedDeviceList
});
数组
of zero or more
XRInputSource
objects, each representing one input device removed from the XR system.
| 规范 | 状态 | 注释 |
|---|---|---|
|
WebXR 设备 API
The definition of 'XRInputSourcesChangeEventInit.removed' in that specification. |
工作草案 | 初始定义。 |
XRInputSourcesChangeEventInit
Navigator.xr
WebGLRenderingContext.makeXRCompatible()
XR
XRBoundedReferenceSpace
XRFrame
XRInputSource
XRInputSourceArray
XRInputSourceEvent
XRInputSourcesChangeEvent
XRPose
XRReferenceSpace
XRReferenceSpaceEvent
XRRenderState
XRRigidTransform
XRSession
XRSessionEvent
XRSpace
XRView
XRViewerPose
XRViewport
XRWebGLLayer