6.6.17 • Published 5 months ago

@react-three/handle v6.6.17

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
5 months ago
npm install three @react-three/fiber @react-three/handle@latest @react-three/xr@latest
A example with a handle for controlling the scale rotation and position of a simple red cube by grabbing it with any type of input (mouse, touch, grab, point) in XR and non-XR applications.recording of interacting with the code below
import { Canvas } from '@react-three/fiber'
import { noEvents, PointerEvents } from '@react-three/xr'
import { Handle } from '@react-three/handle'

export function App() {
  return (
    <Canvas events={noEvents}>
      <PointerEvents />
      <Environment preset="city" />
      <Handle>
        <mesh position-z={-1}>
          <boxGeometry />
          <meshStandardMaterial color="red" />
        </mesh>
      </Handle>
    </Canvas>
  )
}

Documentation

Sponsors

This project is supported by a few companies and individuals building cutting-edge 3D Web & XR experiences. Check them out!

Sponsors Overview

6.6.17

5 months ago

6.6.16

6 months ago

6.6.15

6 months ago

6.6.14

6 months ago

6.6.13

7 months ago

6.6.12

7 months ago

6.6.11

7 months ago

6.6.10

7 months ago

6.6.9

8 months ago

6.6.8

8 months ago

6.6.7

8 months ago

6.6.6

8 months ago

6.6.5

8 months ago

6.6.4

8 months ago

6.6.3

9 months ago

6.6.2

9 months ago

6.6.1

9 months ago

6.6.0

9 months ago

6.5.6

9 months ago

6.5.5

9 months ago

6.5.4

9 months ago

6.5.3

9 months ago

6.5.2

9 months ago

6.5.1-alpha.2

9 months ago

6.5.1

9 months ago

6.5.0

9 months ago

6.4.12-alpha.54

9 months ago

6.4.12-alpha.48

9 months ago

6.4.12-alpha.46

9 months ago

6.4.12-alpha.36

9 months ago

6.4.12-alpha.33

10 months ago

6.4.12-alpha.31

10 months ago