# RayDrillSelectionOperator

class Operators.RayDrillSelectionOperator()

Methods

- `addMapping()`

- `clearMapping()`

- `clearSelection()`

- `getForceEffectiveSceneVisibilityMask()`

- `getIgnoreTransparency()`

- `hasActiveSelection()`

- `setForceEffectiveSceneVisibilityMask()`

- `setIgnoreTransparency()`

- `setMapping()`

- `waitForIdle()`

## Methods

### addMapping

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

RayDrillSelectionOperator.clearMapping()

  Clears any button and key modifier mappings for the operator.

  Return type

    void

### clearSelection

RayDrillSelectionOperator.clearSelection()
  Return type

    Promise <void>

### getForceEffectiveSceneVisibilityMask

RayDrillSelectionOperator.getForceEffectiveSceneVisibilityMask()

  Gets the mask used for forcing effective scene visibility during selection.

  Return type

    SelectionMask

### getIgnoreTransparency

RayDrillSelectionOperator.getIgnoreTransparency()
  Return type

    boolean

### hasActiveSelection

RayDrillSelectionOperator.hasActiveSelection()
  Return type

    boolean

### setForceEffectiveSceneVisibilityMask

RayDrillSelectionOperator.setForceEffectiveSceneVisibilityMask(mask)
  Arguments

    - mask (`SelectionMask()`) – None

  Sets the mask used for forcing effective scene visibility during selection.

  Return type

    void

### setIgnoreTransparency

RayDrillSelectionOperator.setIgnoreTransparency(value)
  Arguments

    - value (`boolean()`) – None

  Return type

    void

### setMapping

RayDrillSelectionOperator.setMapping(button, modifier)
  Arguments

    - button (`Button()`) – None

    - modifier (`KeyModifiers()`) – None

  Sets the button and key modifier mapping for the operator.

  Return type

    void

### waitForIdle

RayDrillSelectionOperator.waitForIdle()
  Return type

    Promise <void>