...
Use the WebView Layer to display any web page in ICEIgloo Core Engine
Settings
URL
Type in the full Enter the complete URL of the web page URL that you wish want to display.
Resolution
Specify the Width and Height which Define the rendering resolution of the web page is rendered at in pixels (Width x Height).
Dynamic Browser Resolution
When enabled the underlying resolution of the browser will be updated whenever the scale of the layer changes.
When disabled, modifying the scale of the layer will have no effect on the browser resolution. This could be useful for the following
...
When using a very high-resolution workspace canvas, creating WebView's at native resolution may hinder performance
...
Enabled: The browser's resolution will automatically update when the layer's scale changes.
Disabled: Changing the layer's scale will not affect the browser's resolution. This is useful when:
Operating in a high-resolution workspace, as native resolution WebViews may reduce performance.
Displaying a Cubemap/Equirectangular web page, where a fixed resolution and aspect ratio are required.
Use Custom FPS
When enabled Set the WebView's frame rate of a WebView can be set independently of the ICE application framerateindependently from the Igloo Core Engine application frame rate.
Use Alpha
When enabled, the browser's alpha channel will be utilised to support transparency, allowing for see-through elements and overlay effects. This is particularly useful for creating seamless integrations with varying background layers or for aesthetic effects where transparency is a key factor.
...
Keyboard & Mouse Control
Once added, the web page can be controlled by selecting the WebView layer within the Workspace view and clicking using keyboard and dragging the mouse within the layer. mouse interactions
Info |
---|
Canvas UI must be enabled to allow interaction with the WebView Layer |
...
Media
The Web Browser Input utilises WebView uses the Chromium Embedded Framework (CEF) and has most of the features available in the Google Chrome browser, this includes audio playback and other media features such as , offering most Google Chrome features including audio playback, WebRTC, and WebGL.
...
Audio
Audio within a WebView is fully supported with the WebView input and can be mixed independently mixed just like any other audio source in ICEIgloo Core Engine.
...
Cookies
In ICE, cookies function Cookies in Igloo Core Engine are managed similarly to Chrome. They are , stored per individual Windows user. You can control the enablement or disablement of cookies through the "Use web cookies" setting found in Config > Settings > Misc Tab. If you choose to disable cookies, please note that a restart of ICE is necessary for them to be cleared.You can also clear cookies during runtime using the “Clear web cookies“ button.
...
Dev Tools
Chrome Dev Tools can be used to inspect and debug the state of WebViews within ICEIgloo Core Engine.
Chrome DevTools - Chrome Developers
To do so, ICE Igloo Core Engine must be opened using the command line parameter.
...
Where n is the port number.
e.g.
...
Info |
---|