Matrix Engine Api Documentation - v2.0.0
Preparing search index...
DragRotateController
Class DragRotateController
Index
Constructors
constructor
Properties
_
dragging
_
last
X
_
velocity
auto
Rotate
Speed
camera
canvas
inertia
mesh
min
Velocity
sensitivity
Methods
_
attach
_
on
Pointer
Down
_
on
Pointer
Move
_
on
Pointer
Up
destroy
update
Constructors
constructor
new
DragRotateController
(
mesh
:
any
,
canvas
:
any
,
camera
:
any
,
options
?:
{}
,
)
:
DragRotateController
Parameters
mesh
:
any
canvas
:
any
camera
:
any
options
:
{}
= {}
Returns
DragRotateController
Properties
_
dragging
_dragging
:
boolean
_
last
X
_lastX
:
number
_
velocity
_velocity
:
number
auto
Rotate
Speed
autoRotateSpeed
:
any
camera
camera
:
any
canvas
canvas
:
any
inertia
inertia
:
any
mesh
mesh
:
any
min
Velocity
minVelocity
:
any
sensitivity
sensitivity
:
any
Methods
_
attach
_attach
()
:
void
Returns
void
_
on
Pointer
Down
_onPointerDown
(
e
:
any
)
:
void
Parameters
e
:
any
Returns
void
_
on
Pointer
Move
_onPointerMove
(
e
:
any
)
:
void
Parameters
e
:
any
Returns
void
_
on
Pointer
Up
_onPointerUp
()
:
void
Returns
void
destroy
destroy
()
:
void
Returns
void
update
update
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
dragging
_
last
X
_
velocity
auto
Rotate
Speed
camera
canvas
inertia
mesh
min
Velocity
sensitivity
Methods
_
attach
_
on
Pointer
Down
_
on
Pointer
Move
_
on
Pointer
Up
destroy
update
Matrix Engine Api Documentation - v2.0.0
Loading...