安全上下文
此特征只可用于
安全上下文
(HTTPS),在某些或所有
支持浏览器
.
XRSessionEventInit
dictionary's
session
property specifies the
XRSession
for which the event describes a state change.
let sessionEventInit = {
session: xrSession
};
mySessionEvent = new XRSessionEvent(type, sessionEventInit);
mySessionEvent = new XRSessionEvent(type,
{ session: XRSession });
XRSession
object indicating which WebXR session the event is referring to.
| 规范 | 状态 | 注释 |
|---|---|---|
|
WebXR 设备 API
The definition of 'XRSessionEventInit.session' in that specification. |
工作草案 | 初始定义。 |
XRSessionEventInit
session
Navigator.xr
WebGLRenderingContext.makeXRCompatible()
XR
XRBoundedReferenceSpace
XRFrame
XRInputSource
XRInputSourceArray
XRInputSourceEvent
XRInputSourcesChangeEvent
XRPose
XRReferenceSpace
XRReferenceSpaceEvent
XRRenderState
XRRigidTransform
XRSession
XRSessionEvent
XRSpace
XRView
XRViewerPose
XRViewport
XRWebGLLayer