DelegateInputHandler class

An InputHandler that accumulates pointer/key events every frame, delegating the actual update to an InputHandlerDelegate.

Implemented types

Constructors

DelegateInputHandler.new({required ThermionViewer viewer, required List<InputHandlerDelegate> delegates, bool batch = true})
DelegateInputHandler.fixedOrbit(ThermionViewer viewer, {double minimumDistance = 0.1, Vector3? target, InputSensitivityOptions sensitivity = const InputSensitivityOptions(), ThermionEntity? entity})
factory
DelegateInputHandler.flight(ThermionViewer viewer, {bool freeLook = false, InputSensitivityOptions sensitivity = const InputSensitivityOptions(), ThermionEntity? entity})
factory

Properties

batch bool
final
delegates List<InputHandlerDelegate>
final
events Stream<List<InputEvent>>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewer ThermionViewer
final

Methods

dispose() Future
override
handle(InputEvent event) Future
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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