Search
Preparing search index...
The search index is not available
@motor/core
Options
All
Public
Public/Protected
All
Inherited
Menu
@motor/core
default
MotorCore
ClippingControl
Class ClippingControl
Hierarchy
Control
ClippingControl
ClippingControl
Index
Constructors
constructor
Properties
clipping
Editor
drag
End
drag
Start
input
Map
move
Rate
viewer
Accessors
center
dimensions
is
Reverse
is
Show
Clipping
Plane
outline
Color
plane
Color
select
Color
Methods
add
Clipping
Plane
add
Clipping
Plane
ByPlane
add
Update
Callback
destroy
force
Update
get
Current
Plane
Info
is
Destroyed
key
Down
Callback
key
UpCallback
on
Left
Down
on
Left
Up
on
Mouse
Move
register
remove
Apply
Type
reset
reset
Manipulator
Params
set
Apply
Type
set
Plane
Distance
set
Plane
Offset
set
Plane
Visibility
set
Planes
Visibility
Constructors
constructor
new
Clipping
Control
(
viewer
:
Viewer
, center
:
Vector3
, dimensions
:
Vector3
, clippingType
?:
CESIUM_3D_TILE
|
TERRAIN
|
BOTH
)
:
ClippingControl
Parameters
viewer:
Viewer
center:
Vector3
dimensions:
Vector3
Optional
clippingType:
CESIUM_3D_TILE
|
TERRAIN
|
BOTH
Returns
ClippingControl
Properties
clipping
Editor
clipping
Editor
:
ClippingPlaneEditor
drag
End
drag
End
:
Event
drag
Start
drag
Start
:
Event
input
Map
input
Map
:
undefined
|
InputMap
move
Rate
move
Rate
:
number
viewer
viewer
:
Viewer
Accessors
center
get
center
(
)
:
Vector3
set
center
(
value
:
Vector3
)
:
void
Returns
Vector3
Parameters
value:
Vector3
Returns
void
dimensions
get
dimensions
(
)
:
Vector3
set
dimensions
(
value
:
Vector3
)
:
void
Returns
Vector3
Parameters
value:
Vector3
Returns
void
is
Reverse
get
isReverse
(
)
:
boolean
set
isReverse
(
value
:
boolean
)
:
void
Returns
boolean
Parameters
value:
boolean
Returns
void
is
Show
Clipping
Plane
get
isShowClippingPlane
(
)
:
boolean
set
isShowClippingPlane
(
value
:
boolean
)
:
void
Returns
boolean
Parameters
value:
boolean
Returns
void
outline
Color
get
outlineColor
(
)
:
Color
set
outlineColor
(
color
:
Color
)
:
void
Returns
Color
Parameters
color:
Color
Returns
void
plane
Color
get
planeColor
(
)
:
Color
set
planeColor
(
color
:
Color
)
:
void
Returns
Color
Parameters
color:
Color
Returns
void
select
Color
get
selectColor
(
)
:
Color
set
selectColor
(
color
:
Color
)
:
void
Returns
Color
Parameters
color:
Color
Returns
void
Methods
add
Clipping
Plane
add
Clipping
Plane
(
type
:
ClippingPlaneType
, center
?:
Vector3
, dimensions
?:
Vector3
)
:
void
Parameters
type:
ClippingPlaneType
Optional
center:
Vector3
Optional
dimensions:
Vector3
Returns
void
add
Clipping
Plane
ByPlane
add
Clipping
Plane
ByPlane
(
normal
:
Vector3
, point
:
Vector3
)
:
void
Parameters
normal:
Vector3
point:
Vector3
Returns
void
add
Update
Callback
add
Update
Callback
(
callback
:
(
planeType
:
string
, curDistance
:
number
)
=>
void
)
:
void
Parameters
callback:
(
planeType
:
string
, curDistance
:
number
)
=>
void
(
planeType
:
string
, curDistance
:
number
)
:
void
Parameters
planeType:
string
curDistance:
number
Returns
void
Returns
void
destroy
destroy
(
)
:
undefined
Returns
undefined
force
Update
force
Update
(
)
:
void
Returns
void
get
Current
Plane
Info
get
Current
Plane
Info
(
)
:
{
curDistance
:
number
;
planeType
:
string
}
[]
Returns
{
curDistance
:
number
;
planeType
:
string
}
[]
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
on
Left
Down
on
Left
Down
(
movement
:
Vector2
)
:
void
Parameters
movement:
Vector2
Returns
void
on
Left
Up
on
Left
Up
(
movement
:
Vector2
)
:
void
Parameters
movement:
Vector2
Returns
void
on
Mouse
Move
on
Mouse
Move
(
movement
:
Vector2
)
:
void
Parameters
movement:
Vector2
Returns
void
register
register
(
)
:
void
Returns
void
remove
Apply
Type
remove
Apply
Type
(
apply
:
ControlApplyType
)
:
void
Parameters
apply:
ControlApplyType
Returns
void
reset
reset
(
)
:
void
Returns
void
reset
Manipulator
Params
reset
Manipulator
Params
(
options
:
ManipulatorControlOptions
)
:
void
Parameters
options:
ManipulatorControlOptions
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
set
Plane
Distance
set
Plane
Distance
(
planeType
:
string
, distance
:
number
)
:
void
Parameters
planeType:
string
distance:
number
Returns
void
set
Plane
Offset
set
Plane
Offset
(
planeType
:
string
, distanceOffset
:
number
)
:
void
Parameters
planeType:
string
distanceOffset:
number
Returns
void
set
Plane
Visibility
set
Plane
Visibility
(
planeType
:
ClippingPlaneTypes
, value
:
boolean
)
:
void
Parameters
planeType:
ClippingPlaneTypes
value:
boolean
Returns
void
set
Planes
Visibility
set
Planes
Visibility
(
value
:
boolean
)
:
void
Parameters
value:
boolean
Returns
void
Exports
default
default.
Motor
Core
Clipping
Control
constructor
clipping
Editor
drag
End
drag
Start
input
Map
move
Rate
viewer
center
dimensions
is
Reverse
is
Show
Clipping
Plane
outline
Color
plane
Color
select
Color
add
Clipping
Plane
add
Clipping
Plane
ByPlane
add
Update
Callback
destroy
force
Update
get
Current
Plane
Info
is
Destroyed
key
Down
Callback
key
UpCallback
on
Left
Down
on
Left
Up
on
Mouse
Move
register
remove
Apply
Type
reset
reset
Manipulator
Params
set
Apply
Type
set
Plane
Distance
set
Plane
Offset
set
Plane
Visibility
set
Planes
Visibility