DelegateInputHandler class

Implemented types

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

Properties

cameraUpdated Stream
no setteroverride
gestures Stream<List<InputType>>
no setter
hashCode int
The hash code for this object.
no setterinherited
initialized Future<bool>
no setteroverride
pickDelegate PickDelegate?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transformDelegate InputHandlerDelegate?
getter/setter pair
viewer ThermionViewer
final

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

Operators

operator ==(Object other) bool
The equality operator.
inherited