UNPKG
@pmndrs/handle
Version:
alpha (6.5.1-alpha.2)
latest (6.6.29)
6.6.29
6.6.28
6.6.27
6.6.26
6.6.25
6.6.24
6.6.23
6.6.22
6.6.21
6.6.20
6.6.19
6.6.18
6.6.17
6.6.16
6.6.15
6.6.14
6.6.13
6.6.12
6.6.11
6.6.10
6.6.9
6.6.8
6.6.7
6.6.6
6.6.5
6.6.4
6.6.3
6.6.2
6.6.1
6.6.0
6.5.6
6.5.5
6.5.4
6.5.3
6.5.2
6.5.1
6.5.1-alpha.2
6.5.0
6.4.12-alpha.54
6.4.12-alpha.48
6.4.12-alpha.46
6.4.12-alpha.36
6.4.12-alpha.33
6.4.12-alpha.31
framework agnostic expandable handle implementation for threejs
github.com/pmndrs/xr
pmndrs/xr
@pmndrs/handle
/
dist
/
handles
/
drag.d.ts
9 lines
(8 loc)
•
291 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
HandleOptions
}
from
'../store.js'
;
import
type
{
Object3D
}
from
'three'
;
export
declare
class
DragHandle
<T =
unknown
> {
private
connections;
constructor
(
objects
:
Array
<
Object3D
>,
getOptions
?: () =>
HandleOptions
<T>
);
update
(
time
:
number
):
void
;
dispose
():
void
; }