6.6.17 • Published 12 months ago

@react-three/handle v6.6.17

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

12 months ago

6.6.16

1 year ago

6.6.15

1 year ago

6.6.14

1 year ago

6.6.13

1 year ago

6.6.12

1 year ago

6.6.11

1 year ago

6.6.10

1 year ago

6.6.9

1 year ago

6.6.8

1 year ago

6.6.7

1 year ago

6.6.6

1 year ago

6.6.5

1 year ago

6.6.4

1 year ago

6.6.3

1 year ago

6.6.2

1 year ago

6.6.1

1 year ago

6.6.0

1 year ago

6.5.6

1 year ago

6.5.5

1 year ago

6.5.4

1 year ago

6.5.3

1 year ago

6.5.2

1 year ago

6.5.1-alpha.2

1 year ago

6.5.1

1 year ago

6.5.0

1 year ago

6.4.12-alpha.54

1 year ago

6.4.12-alpha.48

1 year ago

6.4.12-alpha.46

1 year ago

6.4.12-alpha.36

1 year ago

6.4.12-alpha.33

1 year ago

6.4.12-alpha.31

1 year ago