Preparing search index...
The search index is not available
vim-web
vim-web
React
useControlBar
Function useControlBar
useControlBar
(
viewer
:
Core
.
Webgl
.
Viewer
,
camera
:
CameraRef
,
modal
:
ModalHandle
,
side
:
SideState
,
cursor
:
CursorManager
,
settings
:
React
.
Settings
.
Settings
,
section
:
SectionBoxRef
,
isolationRef
:
IsolationRef
,
customization
:
ControlBarCustomization
,
)
:
(
|
IControlBarSection
|
{
buttons
:
{
action
:
()
=>
void
;
enabled
:
()
=>
boolean
;
icon
:
(
__namedParameters
:
IconOptions
)
=>
Element
;
id
:
string
;
isOn
:
()
=>
boolean
;
style
:
(
on
:
boolean
)
=>
string
;
tip
:
string
;
}
[]
;
enable
:
()
=>
boolean
;
id
:
string
;
style
:
string
;
}
)
[]
Combines all control bar sections into one control bar.
Parameters
viewer
:
Core
.
Webgl
.
Viewer
camera
:
CameraRef
modal
:
ModalHandle
side
:
SideState
cursor
:
CursorManager
settings
:
React
.
Settings
.
Settings
section
:
SectionBoxRef
isolationRef
:
IsolationRef
customization
:
ControlBarCustomization
Returns (
|
IControlBarSection
|
{
buttons
:
{
action
:
()
=>
void
;
enabled
:
()
=>
boolean
;
icon
:
(
__namedParameters
:
IconOptions
)
=>
Element
;
id
:
string
;
isOn
:
()
=>
boolean
;
style
:
(
on
:
boolean
)
=>
string
;
tip
:
string
;
}
[]
;
enable
:
()
=>
boolean
;
id
:
string
;
style
:
string
;
}
)
[]
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
vim-web
Loading...
Combines all control bar sections into one control bar.