DelegateInputHandler class
Constructors
-
DelegateInputHandler({required ThermionViewer viewer, required InputHandlerDelegate? transformDelegate, PickDelegate? pickDelegate, Map<InputType, InputAction>? actions})
-
-
DelegateInputHandler.fixedOrbit(ThermionViewer viewer, {double minimumDistance = 10.0, Vector3? target, ThermionEntity? entity, PickDelegate? pickDelegate})
-
factory
-
DelegateInputHandler.flight(ThermionViewer viewer, {PickDelegate? pickDelegate, bool freeLook = false, double panSensitivity = 0.1, double zoomSensitivity = 0.1, double movementSensitivity = 0.1, double rotateSensitivity = 0.01, double? clampY, ThermionEntity? entity})
-
factory
Methods
-
dispose()
→ Future
-
override
-
getActionForType(InputType gestureType)
→ InputAction?
-
override
-
keyDown(PhysicalKey key)
→ void
-
override
-
keyUp(PhysicalKey key)
→ void
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onPointerDown(Vector2 localPosition, bool isMiddle)
→ Future<void>
-
override
-
onPointerHover(Vector2 localPosition, Vector2 delta)
→ Future<void>
-
override
-
onPointerMove(Vector2 localPosition, Vector2 delta, bool isMiddle)
→ Future<void>
-
override
-
onPointerScroll(Vector2 localPosition, double scrollDelta)
→ Future<void>
-
override
-
onPointerUp(bool isMiddle)
→ Future<void>
-
override
-
onScaleEnd(int pointerCount, double velocity)
→ Future<void>
-
override
-
onScaleStart(Vector2 localPosition, int pointerCount, Duration? sourceTimestamp)
→ Future<void>
-
override
-
onScaleUpdate(Vector2 focalPoint, Vector2 focalPointDelta, double horizontalScale, double verticalScale, double scale, int pointerCount, double rotation, Duration? sourceTimestamp)
→ Future<void>
-
override
-
process()
→ Future<void>
-
-
setActionForType(InputType gestureType, InputAction gestureAction)
→ void
-
override
-
setTransformForAction(InputType inputType, Matrix3 transform)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited