3D WebView for UWP / Hololens (Web Browser)

Vuplex

(18)
$299
Publisher Vuplex
File size 4.31MB
Number of files 168
Latest version 4
Latest release date 2024-06-06 01:02:12
First release date 2020-05-08 08:07:17
Supported Unity versions 2018.4.2 or higher
Easily display and interact with web content in 3D or 2D using the web browser plugin trusted by hundreds of developers. See the developer site for full documentation.

🌐  Load a webpage from a URL or HTML string

<>  Create UIs with HTML

⚡️  Get started fast with the 3D WebViewPrefab or 2D CanvasWebViewPrefab, which render to a Texture2D and handle user interactions (click, scroll, drag)

🖥  Includes a Native 2D Mode optimized for 2D

⌨️  Type with the included on-screen keyboard

• C# source code for a unified API that works seamlessly across Android, iOS, Windows, macOS, WebGL, and UWP / Hololens (each platform sold separately)

• Powered by the UWP WebView component

• Comprehensive APIs for controlling the browser and listening to browser events

Execute JavaScript

Send messages from JavaScript to C# and vice versa

• View PDFs

• Integrate with OAuth

• Includes additional APIs for platform-specific features

• Supports MRTK touch and pointer interactions


Examples

• 3D WebView's included demo scenes:
    ◦ SimpleWebViewDemo
    ◦ CanvasWebViewDemo
    ◦ AdvancedWebViewDemo
    ◦ CanvasWorldSpaceDemo

Hololens example

XR Interaction Toolkit example


System requirements

• Unity 2018.3 or newer

• Universal Windows Platform on Windows 10+ (x64, x86, arm, arm64) with D3D11 graphics

• IL2CPP (deprecated .NET runtime not supported)

• Requires the Build Type be set to "XAML Project" because the XAML WebView component is used as the browser engine

• Adds < 10 MB to the app's size


Important notes and limitations

• This package only supports UWP. To support other platforms, you can install additional 3D WebView packages, and you can save money on multiple packages by buying a bundle. All of the 3D WebView packages work seamlessly together, so all you need to do is install them into the same project, and then 3D WebView automatically detects and uses the correct plugin at runtime and build time.

• 3D WebView's native UWP plugins are provided as precompiled libraries, and the native source code for them is not provided.

• 3D WebView's native UWP plugins can't run in the editor, so a mock webview implementation is used by default while running in the editor. However, you can actually load and render real web content in the editor by also installing 3D WebView for Windows and macOS into the project. You can save money by buying both packages together in a bundle.

• When not running in Native 2D Mode, this package has the following limitations:
    ◦ The web rendering frame rate is relatively slow (<10 FPS) due to UWP limitations. Video playback also further degrades performance, so it's not recommended for video playback.
    ◦ Support for hover and drag interactions has limitations.
    ◦ The plugin is unable to click or scroll in iframes.
    ◦ Scrollbars aren't rendered.
    ◦ Some HTML5 widget popups (like date picker inputs) aren't rendered. For more details, please see this page.

• Compatible with both Hololens 1 and 2.

• Currently, when a text input is focused on Hololens, no blinking text caret appears. However, the text caret appears when running on desktop.

• The UWP plugin supports transparent webviews on desktop but not on Hololens.

• The UWP plugin embeds PDF.js from Mozilla, so you must display a copy of its included Apache 2.0 license in your UWP app's about page or credits.

Top Publisher Assets