drainEvents abstract method
What happened since the last read, oldest first, as objects: one per event, for tests and code that runs rarely (see readEvents).
Implementation
List<Physics3DEvent> drainEvents();
What happened since the last read, oldest first, as objects: one per event, for tests and code that runs rarely (see readEvents).
List<Physics3DEvent> drainEvents();