CameraNavigationOperator

class Communicator.Operator.CameraNavigationOperator()

Methods

addMapping

Communicator.Operator.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 (Communicator.Button()) –

  • modifier (Communicator.KeyModifiers()) –

Return type

void

clearMapping

Communicator.Operator.CameraNavigationOperator.clearMapping()

Clears any button and key modifier mappings for the operator.

Return type

void

getBimNavigationEnabled

Communicator.Operator.CameraNavigationOperator.getBimNavigationEnabled()

Returns true if BIM navigation is enabled.

Return type

boolean

setBimNavigationEnabled

Communicator.Operator.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

Communicator.Operator.CameraNavigationOperator.setMapping(button, modifier)

Sets the button and key modifier mapping for the operator.

Arguments
  • button (Communicator.Button()) –

  • modifier (Communicator.KeyModifiers()) –

Return type

void