DelegateInputHandler.fixedOrbit constructor
DelegateInputHandler.fixedOrbit(
- ThermionViewer viewer, {
- double minimumDistance = 10.0,
- Vector3? target,
- ThermionEntity? entity,
- PickDelegate? pickDelegate,
Implementation
factory DelegateInputHandler.fixedOrbit(ThermionViewer viewer,
{double minimumDistance = 10.0,
Vector3? target,
ThermionEntity? entity,
PickDelegate? pickDelegate}) =>
DelegateInputHandler(
viewer: viewer,
pickDelegate: pickDelegate,
transformDelegate: FixedOrbitRotateInputHandlerDelegate(viewer,
minimumDistance: minimumDistance),
actions: {
InputType.MMB_HOLD_AND_MOVE: InputAction.ROTATE,
InputType.SCALE1: InputAction.ROTATE,
InputType.SCALE2: InputAction.ZOOM,
InputType.SCROLLWHEEL: InputAction.ZOOM
});