This PR adds a method called isWindowVisible to IrrlichtDevice. It returns false on Android if the app is paused and true in all other cases and on all other platforms.
This is necessary because isWindowActive and similar methods not only return false on Android when the app is paused, but also when it is merely "unfocused" (e.g. a text input dialog is open).
This PR adds a method called
isWindowVisible
toIrrlichtDevice
. It returns false on Android if the app is paused and true in all other cases and on all other platforms.This is necessary because
isWindowActive
and similar methods not only return false on Android when the app is paused, but also when it is merely "unfocused" (e.g. a text input dialog is open).