SelectionOperator
-
class
Operators.SelectionOperator()
Methods
-
Operators.SelectionOperator.addMapping() inherited
addMapping(button:Button, modifier:KeyModifiers?): voidAdds 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.
Parameters
button:
Buttonmodifier:
KeyModifiers= KeyModifiers.NoneReturns: void
-
Operators.SelectionOperator.clearMapping() inherited
clearMapping(): voidClears any button and key modifier mappings for the operator.
Returns: void
-
Operators.SelectionOperator.getPickConfig() - getPickConfig():
PickConfigReturns the [[PickConfig]] that will be passed to [[View.pickFromPoint]].
Returns:
PickConfig
-
Operators.SelectionOperator.getSelectionButton() - getSelectionButton():
ButtonGets the button used for selection.
Returns:
ButtonButton
-
Operators.SelectionOperator.setDoubleClickFitWorldEnabled() - setDoubleClickFitWorldEnabled(doubleClickFitWorld: boolean): void
When enabled, a double click will fit the view to the model bounding box.
Parameters
doubleClickFitWorld: booleanReturns: void
-
Operators.SelectionOperator.setMapping() inherited
setMapping(button:Button, modifier:KeyModifiers?): voidSets the button and key modifier mapping for the operator.
Parameters
button:
Buttonmodifier:
KeyModifiers= KeyModifiers.NoneReturns: void
-
Operators.SelectionOperator.setPickConfig() - setPickConfig(config:
PickConfig): voidSets the [[PickConfig]] that will be passed to [[View.pickFromPoint]].
Parameters
config:PickConfigReturns: void