pick method
Used to select the entity in the scene at the given viewport coordinates.
Called by FilamentGestureDetector
on a mouse/finger down event. You probably don't want to call this yourself.
This is asynchronous and will require 2-3 frames to complete - subscribe to the pickResult stream to receive the results of this method.
x
and y
must be in local logical coordinates (i.e. where 0,0 is at top-left of the ThermionWidget).
Implementation
@override
void pick(int x, int y) {
// TODO: implement pick
}