CameraTurntableOperator
-
class
Operators.Camera.CameraTurntableOperator()
Methods
-
Operators.Camera.CameraTurntableOperator.addMapping() inherited
addMapping(button:Button, modifier:KeyModifiers?): voidAdds 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.
Parameters
button:
Buttonmodifier:
KeyModifiers= KeyModifiers.NoneReturns: void
-
Operators.Camera.CameraTurntableOperator.clearMapping() inherited
clearMapping(): voidClears any button and key modifier mappings for the operator.
Returns: void
-
Operators.Camera.CameraTurntableOperator.getCameraRotationMomentumEnabled() inherited
getCameraRotationMomentumEnabled(): booleanReturns: boolean
-
Operators.Camera.CameraTurntableOperator.getMomentum() inherited
getMomentum(): numberReturns: number
-
Operators.Camera.CameraTurntableOperator.getMomentumLossPerSecond() inherited
getMomentumLossPerSecond(): numberReturns: number
-
Operators.Camera.CameraTurntableOperator.isAnimating() inherited
isAnimating(): booleanReturns: boolean
-
Operators.Camera.CameraTurntableOperator.isCurrentlyAnimating() inherited
isCurrentlyAnimating(): booleanReturns: boolean
-
Operators.Camera.CameraTurntableOperator.setCameraRotationMomentumEnabled() inherited
setCameraRotationMomentumEnabled(val: boolean): voidParameters
val: booleanReturns: void
-
Operators.Camera.CameraTurntableOperator.setMapping() inherited
setMapping(button:Button, modifier:KeyModifiers?): voidSets the button and key modifier mapping for the operator.
Parameters
button:
Buttonmodifier:
KeyModifiers= KeyModifiers.NoneReturns: void
-
Operators.Camera.CameraTurntableOperator.setMomentumLossPerSecond() inherited
setMomentumLossPerSecond(amountLost: number): voidSets proportion of momentum lost per second if camera rotation momentum is enabled. At 0 no momentum is lost and the camera will orbit indefinitely. Above 1 the camera will stop orbiting within a second of release. Only values greater than or equal to 0 are accepted.
Parameters
amountLost: number
Proportion of momentum lost per secondReturns: void
-
Operators.Camera.CameraTurntableOperator.setRotationAxis() -
Sets the rotation axis.
Parameters
Returns: boolean
-
Operators.Camera.CameraTurntableOperator.stopAnimation() inherited
stopAnimation(): voidReturns: void
-
Operators.Camera.CameraTurntableOperator.supportsAnimation() inherited
supportsAnimation(): booleanReturns: boolean