CuttingPlaneOperator

class Communicator.Operator.CuttingPlaneOperator()

Constructors


Constructors

CuttingPlaneOperator.constructor(viewer, cuttingManager)
Arguments
Return type

CuttingPlaneOperator()

Methods

addMapping

CuttingPlaneOperator.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
Return type

void

clearMapping

CuttingPlaneOperator.clearMapping()

Clears any button and key modifier mappings for the operator.

Return type

void

onMouseDown

CuttingPlaneOperator.onMouseDown(event)
Arguments
Return type

Promise <void>

onMouseMove

CuttingPlaneOperator.onMouseMove(event)
Arguments
Return type

Promise <void>

onMouseUp

CuttingPlaneOperator.onMouseUp(event)
Arguments
Return type

Promise <void>

setHandled

CuttingPlaneOperator.setHandled()
Return type

boolean

setMapping

CuttingPlaneOperator.setMapping(button[, modifier])

Sets the button and key modifier mapping for the operator.

Arguments
Return type

void