CameraTurntableOperator

class CameraTurntableOperator()

Methods

addMapping

CameraTurntableOperator.addMapping(button, modifier)
Arguments:
Return type:

void

clearMapping

CameraTurntableOperator.clearMapping()
Return type:void

getCameraRotationMomentumEnabled

CameraTurntableOperator.getCameraRotationMomentumEnabled()
Return type:boolean

getMomentum

CameraTurntableOperator.getMomentum()
Return type:number

getMomentumLossPerSecond

CameraTurntableOperator.getMomentumLossPerSecond()
Return type:number

isAnimating

CameraTurntableOperator.isAnimating()
Return type:boolean

isCurrentlyAnimating

CameraTurntableOperator.isCurrentlyAnimating()
Return type:boolean

onDeactivate

CameraTurntableOperator.onDeactivate()
Return type:void | Promise <void>

onMouseDown

CameraTurntableOperator.onMouseDown(event)
Arguments:
Return type:

void

onMouseMove

CameraTurntableOperator.onMouseMove(event)
Arguments:
Return type:

void

onMouseUp

CameraTurntableOperator.onMouseUp(event)
Arguments:
Return type:

void

setCameraRotationMomentumEnabled

CameraTurntableOperator.setCameraRotationMomentumEnabled(val)
Arguments:
  • val (boolean()) – None
Return type:

void

setMapping

CameraTurntableOperator.setMapping(button, modifier)
Arguments:
Return type:

void

setMomentumLossPerSecond

CameraTurntableOperator.setMomentumLossPerSecond(amountLost)
Arguments:
  • amountLost (number()) –
Return type:

void

setRotationAxis

CameraTurntableOperator.setRotationAxis(axis)
Arguments:
  • axis (Axis | Point3) –
Return type:

boolean

stopAnimation

CameraTurntableOperator.stopAnimation()
Return type:void

supportsAnimation

CameraTurntableOperator.supportsAnimation()
Return type:boolean