Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -569,6 +569,26 @@ const XRSession = () => {
|
|||||||
<XRMeasurementOverlay />
|
<XRMeasurementOverlay />
|
||||||
<ControllerFineTuning freeMove={freeMove} />
|
<ControllerFineTuning freeMove={freeMove} />
|
||||||
<XRDebugHud />
|
<XRDebugHud />
|
||||||
|
|
||||||
|
{/* In-world HUD — visible inside passthrough where DOM overlays cannot reach */}
|
||||||
|
<XRHudInWorld
|
||||||
|
freeMove={freeMove}
|
||||||
|
onToggleFreeMove={() => setFreeMove(!freeMove)}
|
||||||
|
placementMode={placementMode}
|
||||||
|
onTogglePlacement={() => setPlacementMode(!placementMode)}
|
||||||
|
snapToPlanes={snapToPlanes}
|
||||||
|
onToggleSnap={() => setSnapToPlanes(!snapToPlanes)}
|
||||||
|
allowScale={allowScale}
|
||||||
|
onToggleAllowScale={() => setAllowScale(!allowScale)}
|
||||||
|
liveCode={liveCode}
|
||||||
|
liveViewers={liveViewers}
|
||||||
|
onStartLive={() => (window as unknown as { __trackSteelStartLive?: () => void }).__trackSteelStartLive?.()}
|
||||||
|
onStopLive={() => (window as unknown as { __trackSteelStopLive?: () => void }).__trackSteelStopLive?.()}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{/* Opaque mirror canvas used as the WebRTC source while in AR */}
|
||||||
|
<XRBroadcastMirror enabled />
|
||||||
|
|
||||||
{/* DEVKIT: fake controllers visible in scene + keyboard driver */}
|
{/* DEVKIT: fake controllers visible in scene + keyboard driver */}
|
||||||
{devkit && simXR && <FakeControllers />}
|
{devkit && simXR && <FakeControllers />}
|
||||||
{/* DEVKIT: orbit camera in SimXR so you can navigate around the model */}
|
{/* DEVKIT: orbit camera in SimXR so you can navigate around the model */}
|
||||||
|
|||||||
Reference in New Issue
Block a user