/** * Check if the VR mode is enabled. * @return <code>true</code> if the VR mode is enabled and <code>false</code> otherwise. */ public boolean isInVR() { return (forceVR || vrSupportedOS && hardware != null && hardware.isInitialized() && isInitialized()); }
if (!environment.isInitialized()){ environment.initialize(); if (environment.isInitialized()){ environment.atttach(this, stateManager.getApplication()); } else {