6.6.17 • Published 6 months ago

@react-three/handle v6.6.17

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
6 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

6 months ago

6.6.16

7 months ago

6.6.15

7 months ago

6.6.14

7 months ago

6.6.13

8 months ago

6.6.12

8 months ago

6.6.11

8 months ago

6.6.10

8 months ago

6.6.9

9 months ago

6.6.8

9 months ago

6.6.7

9 months ago

6.6.6

9 months ago

6.6.5

9 months ago

6.6.4

9 months ago

6.6.3

9 months ago

6.6.2

10 months ago

6.6.1

10 months ago

6.6.0

10 months ago

6.5.6

10 months ago

6.5.5

10 months ago

6.5.4

10 months ago

6.5.3

10 months ago

6.5.2

10 months ago

6.5.1-alpha.2

10 months ago

6.5.1

10 months ago

6.5.0

10 months ago

6.4.12-alpha.54

10 months ago

6.4.12-alpha.48

10 months ago

6.4.12-alpha.46

10 months ago

6.4.12-alpha.36

10 months ago

6.4.12-alpha.33

10 months ago

6.4.12-alpha.31

10 months ago