|
86 | 86 | </description>
|
87 | 87 | </method>
|
88 | 88 | <method name="get_session_state">
|
89 |
| - <return type="int" enum="OpenXRInterface.OpenXrSessionState" /> |
| 89 | + <return type="int" enum="OpenXRInterface.SessionState" /> |
90 | 90 | <description>
|
91 | 91 | Returns the current state of our OpenXR session.
|
92 | 92 | </description>
|
|
222 | 222 | </signal>
|
223 | 223 | <signal name="session_focussed">
|
224 | 224 | <description>
|
225 |
| - Informs our OpenXR session now has focus, e.g. output is sent to our HMD and we're receiving XR input. |
| 225 | + Informs our OpenXR session now has focus, for example output is sent to the HMD and we're receiving XR input. |
226 | 226 | </description>
|
227 | 227 | </signal>
|
228 | 228 | <signal name="session_loss_pending">
|
|
242 | 242 | </signal>
|
243 | 243 | <signal name="session_visible">
|
244 | 244 | <description>
|
245 |
| - Informs our OpenXR session is now visible, e.g. output is being sent to the HMD but we don't receive XR input. |
| 245 | + Informs our OpenXR session is now visible, for example output is sent to the HMD but we don't receive XR input. |
246 | 246 | </description>
|
247 | 247 | </signal>
|
248 | 248 | </signals>
|
249 | 249 | <constants>
|
250 |
| - <constant name="OPENXR_SESSION_STATE_UNKNOWN" value="0" enum="OpenXrSessionState"> |
| 250 | + <constant name="SESSION_STATE_UNKNOWN" value="0" enum="SessionState"> |
251 | 251 | The state of the session is unknown, we haven't tried setting up OpenXR yet.
|
252 | 252 | </constant>
|
253 |
| - <constant name="OPENXR_SESSION_STATE_IDLE" value="1" enum="OpenXrSessionState"> |
| 253 | + <constant name="SESSION_STATE_IDLE" value="1" enum="SessionState"> |
254 | 254 | The initial state after the OpenXR session is created or after the session is destroyed.
|
255 | 255 | </constant>
|
256 |
| - <constant name="OPENXR_SESSION_STATE_READY" value="2" enum="OpenXrSessionState"> |
| 256 | + <constant name="SESSION_STATE_READY" value="2" enum="SessionState"> |
257 | 257 | OpenXR is ready to begin our session. [signal session_begun] is emitted when we change to this state.
|
258 | 258 | </constant>
|
259 |
| - <constant name="OPENXR_SESSION_STATE_SYNCHRONIZED" value="3" enum="OpenXrSessionState"> |
| 259 | + <constant name="SESSION_STATE_SYNCHRONIZED" value="3" enum="SessionState"> |
260 | 260 | The application has synched its frame loop with the runtime but we're not rendering anything. [signal session_synchronized] is emitted when we change to this state.
|
261 | 261 | </constant>
|
262 |
| - <constant name="OPENXR_SESSION_STATE_VISIBLE" value="4" enum="OpenXrSessionState"> |
| 262 | + <constant name="SESSION_STATE_VISIBLE" value="4" enum="SessionState"> |
263 | 263 | The application has synched its frame loop with the runtime and we're rendering output to the user, however we receive no user input. [signal session_visible] is emitted when we change to this state.
|
264 |
| - [b]Note:[/b] This is the current state just before we get the focused state, whenever the user opens a system menu, switches to another application or takes off their headset. |
| 264 | + [b]Note:[/b] This is the current state just before we get the focused state, whenever the user opens a system menu, switches to another application, or takes off their headset. |
265 | 265 | </constant>
|
266 |
| - <constant name="OPENXR_SESSION_STATE_FOCUSED" value="5" enum="OpenXrSessionState"> |
| 266 | + <constant name="SESSION_STATE_FOCUSED" value="5" enum="SessionState"> |
267 | 267 | The application has synched its frame loop with the runtime, we're rendering output to the user and we're receiving XR input. [signal session_focussed] is emitted when we change to this state.
|
268 | 268 | [b]Note:[/b] This is the state OpenXR will be in when the user can fully interact with your game.
|
269 | 269 | </constant>
|
270 |
| - <constant name="OPENXR_SESSION_STATE_STOPPING" value="6" enum="OpenXrSessionState"> |
| 270 | + <constant name="SESSION_STATE_STOPPING" value="6" enum="SessionState"> |
271 | 271 | Our session is being stopped. [signal session_stopping] is emitted when we change to this state.
|
272 | 272 | </constant>
|
273 |
| - <constant name="OPENXR_SESSION_STATE_LOSS_PENDING" value="7" enum="OpenXrSessionState"> |
| 273 | + <constant name="SESSION_STATE_LOSS_PENDING" value="7" enum="SessionState"> |
274 | 274 | The session is about to be lost. [signal session_loss_pending] is emitted when we change to this state.
|
275 | 275 | </constant>
|
276 |
| - <constant name="OPENXR_SESSION_STATE_EXITING" value="8" enum="OpenXrSessionState"> |
| 276 | + <constant name="SESSION_STATE_EXITING" value="8" enum="SessionState"> |
277 | 277 | The OpenXR instance is about to be destroyed and we're existing. [signal instance_exiting] is emitted when we change to this state.
|
278 | 278 | </constant>
|
279 | 279 | <constant name="HAND_LEFT" value="0" enum="Hand">
|
|
0 commit comments