Prefer the descriptor-based viewport idiom: <SceneCanvas> now
registers viewport.pan and viewport.zoom action descriptors via
useStandardActions + useGestureDispatcher. Pass useHandTool() via
ambient for drag-to-pan. The former useWheelZoomTool,
useKeyboardZoomTool, and useWheelPanTool hooks are dissolved.
useZoom was the original controller-style API; it remains exported with
full test coverage but no kit-internal usage. Slated for removal in a future major.
Deprecated
Prefer the descriptor-based viewport idiom:
<SceneCanvas>now registersviewport.panandviewport.zoomaction descriptors viauseStandardActions+useGestureDispatcher. PassuseHandTool()viaambientfor drag-to-pan. The formeruseWheelZoomTool,useKeyboardZoomTool, anduseWheelPanToolhooks are dissolved.useZoomwas the original controller-style API; it remains exported with full test coverage but no kit-internal usage. Slated for removal in a future major.