Search
Preparing search index...
The search index is not available
@motor/core
Options
All
Public
Public/Protected
All
Inherited
Menu
@motor/core
default
MotorCore
Control
Class Control
Hierarchy
MotorObj
Control
AdsorbControl
AvatarControl
ClippingControl
CommentEditor
FreeControl
ManipulatorControl
ViewCube
Index
Constructors
constructor
Properties
input
Map
viewer
Methods
destroy
is
Destroyed
key
Down
Callback
key
UpCallback
register
remove
Apply
Type
set
Apply
Type
Constructors
constructor
new
Control
(
viewer
:
Viewer
)
:
Control
Parameters
viewer:
Viewer
Returns
Control
Properties
input
Map
input
Map
:
undefined
|
InputMap
viewer
viewer
:
Viewer
Methods
destroy
destroy
(
)
:
undefined
Returns
undefined
is
Destroyed
is
Destroyed
(
)
:
boolean
Returns
boolean
key
Down
Callback
key
Down
Callback
(
evt
:
KeyboardEvent
)
:
void
Parameters
evt:
KeyboardEvent
Returns
void
key
UpCallback
key
UpCallback
(
evt
:
KeyboardEvent
)
:
void
Parameters
evt:
KeyboardEvent
Returns
void
register
register
(
)
:
void
Returns
void
remove
Apply
Type
remove
Apply
Type
(
apply
:
ControlApplyType
)
:
void
Parameters
apply:
ControlApplyType
Returns
void
set
Apply
Type
set
Apply
Type
(
apply
:
ControlApplyType
, downAction
:
(
windowPosition
:
undefined
|
number
|
Vector2
|
PitchPosition
)
=>
void
, upAction
:
(
windowPosition
:
undefined
|
number
|
Vector2
|
PitchPosition
)
=>
void
)
:
void
Parameters
apply:
ControlApplyType
downAction:
(
windowPosition
:
undefined
|
number
|
Vector2
|
PitchPosition
)
=>
void
(
windowPosition
:
undefined
|
number
|
Vector2
|
PitchPosition
)
:
void
Parameters
windowPosition:
undefined
|
number
|
Vector2
|
PitchPosition
Returns
void
upAction:
(
windowPosition
:
undefined
|
number
|
Vector2
|
PitchPosition
)
=>
void
(
windowPosition
:
undefined
|
number
|
Vector2
|
PitchPosition
)
:
void
Parameters
windowPosition:
undefined
|
number
|
Vector2
|
PitchPosition
Returns
void
Returns
void
Exports
default
default.
Motor
Core
Control
constructor
input
Map
viewer
destroy
is
Destroyed
key
Down
Callback
key
UpCallback
register
remove
Apply
Type
set
Apply
Type