SelectionOperator
-
class
Operators.SelectionOperator()
Methods
Methods
addMapping
-
SelectionOperator.addMapping(button, modifier) Arguments: - button (
Button()) – None - modifier (
KeyModifiers()) – None
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.
Return type: void - button (
clearMapping
-
SelectionOperator.clearMapping() Clears any button and key modifier mappings for the operator.
Return type: void
getPickConfig
-
SelectionOperator.getPickConfig() Returns the [[PickConfig]] that will be passed to [[View.pickFromPoint]].
Return type: PickConfig
getSelectionButton
-
SelectionOperator.getSelectionButton() Gets the button used for selection.
Returns: Button Return type: Button
setDoubleClickFitWorldEnabled
-
SelectionOperator.setDoubleClickFitWorldEnabled(doubleClickFitWorld) Arguments: - doubleClickFitWorld (
boolean()) – None
When enabled, a double click will fit the view to the model bounding box.
Return type: void - doubleClickFitWorld (
setMapping
-
SelectionOperator.setMapping(button, modifier) Arguments: - button (
Button()) – None - modifier (
KeyModifiers()) – None
Sets the button and key modifier mapping for the operator.
Return type: void - button (
setPickConfig
-
SelectionOperator.setPickConfig(config) Arguments: - config (
PickConfig()) – None
Sets the [[PickConfig]] that will be passed to [[View.pickFromPoint]].
Return type: void - config (