We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would love to have a way to be able to navigate scenes using the keyboard eg. via the tab key.
I am thinking about something like this:
<script lang="ts"> type Box = { self: BABYLON.Mesh | BABYLON.AbstractMesh } let box1: Box let box2: Box let box3: Box $: tabableItems = [box1, box2, box3] </script> <Canvas> <TabHandler items={tabableItems} cameraSpeed={1} outlineColor="#ffffff" outlineThickness={0.1} /> <HemisphericLight /> <ArcRotateCamera /> <Box bind:object={box1} /> <Box bind:object={box2} /> <Box bind:object={box3} /> </Canvas>
The TabHandler component is then responsible for the following things:
TabHandler
It might be required to be able to define a position the camera should move to on each object.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would love to have a way to be able to navigate scenes using the keyboard eg. via the tab key.
I am thinking about something like this:
The
TabHandler
component is then responsible for the following things:It might be required to be able to define a position the camera should move to on each object.
The text was updated successfully, but these errors were encountered: