v6.2.0
react-three/xr v6.2.0
π₯ YouTube Video | πͺΏ Tweet
Features
- β°οΈ Unbounded spaces using
bounded: false
- Example - π Depth sensing using
depthSensing: true
- Example - β Secondary input sources using
secondaryInputSources: true
- Example | Tutorial - πΊ Dynamic and static high quality layers using
<XRLayer ... />
- Example | Tutorial
Fixes
- #322: incorrect XRRigidTransform when using frame.createAnchor
- #331: Window is not defined error when using @react-three/xr with Next.js
- #324: Wheel scrolling not working when using forwardObjectEvents
Breaking Changes
useSessionSupported
is now calleduseSessionModeSupported
useXRHandState("right")
,useXRHandState("controller")
, ... is now calleduseXRInputSource("hand", "right")
,useXRInputSource("controller", "right")
, ...useXRHandState("right")
,useXRControllerState("right")
, ... for getting the hand state when rendering a hand is now calleduseXRInputSourceStateContext("hand")
,useXRInputSourceStateContext("controller")
, ...- removed unnecessary
useXRPlane
hook