Minimal selection contract sceneToAdapter needs to wire getSelection / setSelection. Matches useSelection().adapterMethods plus an imperative read; pass useSelection() itself or selection.adapterMethods.
sceneToAdapter
getSelection
setSelection
useSelection().adapterMethods
useSelection()
selection.adapterMethods
Optional
Minimal selection contract
sceneToAdapterneeds to wiregetSelection/setSelection. MatchesuseSelection().adapterMethodsplus an imperative read; passuseSelection()itself orselection.adapterMethods.