Skip to content

XR Web Browser

In XR, a web browser allows users to access and browse the web within a virtual reality environment. Users can interact with web interfaces using device controllers, such as selecting links, scrolling through pages, and more, enhancing the immersion and experience for users.

XR Web Browser Features

PropertyDescription
ContentSpecifies the MeshRenderer object for rendering web content.
UrlThe URL of the web page.

Using the XR Web Browser

Right-click in the Hierarchy panel and select Create -> XR -> XR Webview.

By default, it creates a node with the cc.MeshRenderer component as a child node of the Webview Content.

xr-webview/create-webview.png

Build and publish the application to see the web page content.

xr-webview/web-effect.png

Note:

  • The web browser functionality requires the XR extension version >= 1.2.0 and the Cocos Creator version >= 3.7.3.

  • Vulkan does not currently support the video player feature.