-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Document that VisionOS is supported #11140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,12 @@ Introduction to the XR system in Godot | |
Godot provides a modular XR system that abstracts many of the different XR platform specifics away from the user. | ||
At the core sits the :ref:`XRServer <class_xrserver>` which acts as a central interface to the XR system that allows users to discover interfaces and interact with the components of the XR system. | ||
|
||
Each supported XR platform is implemented as an :ref:`XRInterface <class_xrinterface>`. Supported interfaces register themselves with the :ref:`XRServer <class_xrserver>` and can be queried with the ``find_interface`` method on the :ref:`XRServer <class_xrserver>`. When the desired interface is found it can be initialized by calling ``initialize`` on the interface. | ||
Each supported XR platform is implemented as an :ref:`XRInterface <class_xrinterface>`. | ||
A list of supported platforms can be found on the list of features page :ref:`here <doc_xr_support>`. | ||
Supported interfaces register themselves with the :ref:`XRServer <class_xrserver>` | ||
and can be queried with the ``find_interface`` method on the :ref:`XRServer <class_xrserver>`. | ||
When the desired interface is found it can be initialized by calling ``initialize`` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Owh dang, this is a little outdated now. It's still correct and how it was designed to work, but for OpenXR we've had to early initialise in the core. While we talk about that elsewhere, wonder if we should add a note about it here. Totally offtopic for VisionOs though so something to do separately. |
||
on the interface. | ||
|
||
.. warning:: | ||
A registered interface means nothing more than that the interface is available, if the interface is not supported by the host system, initialization may fail and return ``false``. This can have many reasons and sadly the reasons differ from platform to platform. It can be because the user hasn't installed the required software, or that the user simply hasn't plugged in their headset. You as a developer must thus react properly on an interface failing to initialize. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apple describes iPhone and iPad apps compiled for visionOS as Compatible Apps:
Create for visionOS
Making you app compatible with visionOS
We could include these links to give developers more information.