IfSessionModeSupported
IfSessionModeSupported(
props
):null
|Element
Guard that only renders its children to the scene based on whether the user's device supports a session mode.
props
SessionModeSupportedProps
ReactNode
The ReactNode elements to conditionally render.
XRSessionMode
The session mode used to determine if the children will be rendered.
Returns
null
| Element