Skip to content

VRSessionState

Not yet Enum

The lifecycle state of the active VR session, as reported by the VRSessionState property of VRService.

Not implemented in Nova

This enum is missing from Nova. Scripts that reference it will fail.

Description

Represents the current state of the VR session managed by VRService. The engine updates VRSessionState each frame from the active session.

Items

Item Value Status Notes
Undefined 0 Not yet The VR session state is unknown or has not yet been established; the default value of VRSessionState.
Idle 1 Not yet The VR headset is connected and ready but is not yet presenting frames to the user.
Visible 2 Not yet The VR session is rendering frames visible to the user but does not yet have XR input focus; haptic feedback is available.
Focused 3 Not yet The VR session has full XR input focus and is rendering visible frames; haptic feedback is available.
Stopping 4 Not yet The VR session is in the process of stopping and will transition to an inactive state.

Roblox reference: VRSessionState