Implements
Methods
addMapping
-
Parameters
-
button: Button
-
Optional modifier: KeyModifiers
Returns void
-
clearMapping
-
Clears any button and key modifier mappings for the operator.
Returns void
getForceEffectiveSceneVisibilityMask
[deprecated]
-
Gets the mask used for forcing effective scene visibility during selection.
Returns SelectionMask
getPickConfig
-
Returns the PickConfig that will be passed to View.pickFromPoint.
Returns PickConfig
getSelectionButton
-
Gets the button used for selection.
Returns Button
Button
setDoubleClickFitWorldEnabled
-
When enabled, a double click will fit the view to the model bounding box.
Parameters
-
doubleClickFitWorld: boolean
Returns void
-
setForceEffectiveSceneVisibilityMask
[deprecated]
-
Sets the mask used for forcing effective scene visibility during selection.
This setting overrides the value passed to setPickConfig. Passing
null
causes the value passed to setPickConfig to be used.Parameters
-
mask: SelectionMask | null
Returns void
-
setMapping
-
Sets the button and key modifier mapping for the operator.
Parameters
-
button: Button
-
Optional modifier: KeyModifiers
Returns void
-
setPickConfig
-
Sets the PickConfig that will be passed to View.pickFromPoint.
Parameters
-
config: PickConfig
Returns void
-
setSelectionButton
-
Sets the button used for selection
Parameters
-
button: Button
Returns void
-
Adds a button and key modifier mapping for the operator. If no mapping is provided, all combinations are considered valid. All mappings require a mouse button, but a key modifier is optional.