CameraNavigationOperator

class Operators.Camera.CameraNavigationOperator()

Methods

addMapping

CameraNavigationOperator.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

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)
Arguments
  • bimNavigation (boolean()) – None

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

Return type

void

setMapping

CameraNavigationOperator.setMapping(button, modifier)
Arguments
  • button (Button()) – None

  • modifier (KeyModifiers()) – None

Sets the button and key modifier mapping for the operator.

Return type

void