Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@pmndrs/handle

pmndrs14.6kSEE LICENSE IN LICENSE6.6.16TypeScript support: included

framework agnostic expandable handle implementation for threejs

r3f, xr, ar, vr, three.js, react, typescript

readme

@pmndrs/handle

framework agnostic handle implementation for threejs

How to use

//lets create a handle to translate the object on the x axis (the target and the handle are both the object)
const store = new HandleStore(object, () => ({ scale: false, rotate: false, translate: "x" }))
store.bind(object)