安全上下文
此特征只可用于
安全上下文
(HTTPS),在某些或所有
支持浏览器
.
XRInputSourceEventInit
dictionary is used when calling the
XRInputSourceEvent()
constructor to provide configuration options for the newly-created
XRInputSourceEvent
object to take on.
XRInputSourceEventInit
dictionary inherits properties from the
EventInit
dictionary. It also offers the following:
frame
XRFrame
object representing the event frame during which the event took place. This event is
not
associated with the animation process, and has no viewer information contained within it.
inputSource
XRInputSource
object representing the input device from which the event is being sent.
| 规范 | 状态 | 注释 |
|---|---|---|
|
WebXR 设备 API
The definition of 'XRInputSourceEventInit' in that specification. |
工作草案 | 初始定义。 |
XRInputSourceEventInit
Navigator.xr
WebGLRenderingContext.makeXRCompatible()
XR
XRBoundedReferenceSpace
XRFrame
XRInputSource
XRInputSourceArray
XRInputSourceEvent
XRInputSourcesChangeEvent
XRPose
XRReferenceSpace
XRReferenceSpaceEvent
XRRenderState
XRRigidTransform
XRSession
XRSessionEvent
XRSpace
XRView
XRViewerPose
XRViewport
XRWebGLLayer