Enable XR Preview Mode for PICO OS
Supported features in the immersive preview mode - Passthrough - Hand tracking Notes: - Multi-window is only available for internal apps on PICO OS, therefore launching adjacent windows is not possible currently. - Passthrough splash screen is not supported on PICO OS
This commit is contained in:
@@ -53,6 +53,7 @@ import org.godotengine.godot.error.Error
|
||||
import org.godotengine.godot.utils.PermissionsUtil
|
||||
import org.godotengine.godot.utils.ProcessPhoenix
|
||||
import org.godotengine.godot.utils.isHorizonOSDevice
|
||||
import org.godotengine.godot.utils.isPicoOSDevice
|
||||
import org.godotengine.godot.utils.isNativeXRDevice
|
||||
import java.util.*
|
||||
import kotlin.math.min
|
||||
@@ -521,6 +522,10 @@ abstract class BaseGodotEditor : GodotActivity() {
|
||||
return isHorizonOSDevice()
|
||||
}
|
||||
|
||||
if (featureTag == "picoos") {
|
||||
return isPicoOSDevice()
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user