CameraNavigationOperator
- class Communicator.Operator.CameraNavigationOperator()
Methods
Methods
addMapping
- CameraNavigationOperator.addMapping(button[, modifier])
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.
- Arguments
button (Button) –
modifier (KeyModifiers) – optional
- Return type
void
clearMapping
- CameraNavigationOperator.clearMapping()
Clears any button and key modifier mappings for the operator.
- Return type
void
getBimNavigationEnabled
- CameraNavigationOperator.getBimNavigationEnabled()
Returns true if BIM navigation is enabled.
- Return type
boolean
setBimNavigationEnabled
- CameraNavigationOperator.setBimNavigationEnabled(bimNavigation)
When BIM navigation is enabled, the following controls for orbit, pan, and zoom are set: Left mouse button: orbit Middle mouse wheel: zoom Middle mouse button: pan Right mouse button: zoom
- Arguments
bimNavigation (
boolean()
) –
- Return type
void
setMapping
- CameraNavigationOperator.setMapping(button[, modifier])
Sets the button and key modifier mapping for the operator.
- Arguments
button (Button) –
modifier (KeyModifiers) – optional
- Return type
void