![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <WebBrowserSingleton.h>
Inheritance diagram for FWebBrowserSingleton:Static Public Member Functions | |
| static FString | GetCurrentLocaleCode () |
Implementation of singleton class that takes care of general web browser tasks
| FWebBrowserSingleton::FWebBrowserSingleton | ( | const FWebBrowserInitSettings & | WebBrowserInitSettings | ) |
Constructor.
|
virtual |
Virtual destructor.
|
overridevirtual |
Implements IWebBrowserSingleton.
|
overridevirtual |
Delete old/unused web cache paths. Some Web implementations (i.e CEF) use version specific cache folders, this call lets you schedule a deletion of any now unused folders. Calling this may resulting in async disk I/O.
| CachePathRoot | the base path used for saving the webcache folder |
| CachePrefix | the filename prefix we use for the cache folder (i.e "webcache") |
Implements IWebBrowserSingleton.
|
overridevirtual |
Create a new web browser window
| Settings | Struct containing browser window settings |
Implements IWebBrowserSingleton.
|
overridevirtual |
Create a new web browser window
| BrowserWindowParent | The parent browser window |
| BrowserWindowInfo | Info for setting up the new browser window |
Implements IWebBrowserSingleton.
|
inlineoverridevirtual |
Implements IWebBrowserSingleton.
|
overridevirtual |
Implements IWebBrowserSingleton.
|
static |
Gets the Current Locale Code in the format CEF expects
|
inlineoverridevirtual |
Get a reference to UWebBrowser's default material
Implements IWebBrowserSingleton.
|
inlineoverridevirtual |
Get a reference to UWebBrowser's translucent material
Implements IWebBrowserSingleton.
|
overridevirtual |
Implements IWebBrowserSingleton.
Returns whether the CTRL/CMD-SHIFT-I shortcut to show the Chromium Dev tools window is enabled.
The relevant handlers for spawning new browser windows have to be set up correctly in addition to this flag being true before anything is shown.
Implements IWebBrowserSingleton.
|
overridevirtual |
Indicates whether the browser engine is in the shutdown phase.
Implements IWebBrowserSingleton.
|
overridevirtual |
Implements IWebBrowserSingleton.
|
overridevirtual |
Registers a custom scheme handler factory, for a given scheme and domain. The domain is ignored if the scheme is not a browser built in scheme and all requests will go through this factory.
| Scheme | The scheme name to handle. |
| Domain | The domain name to handle. |
| WebBrowserSchemeHandlerFactory | The factory implementation for creating request handlers for this scheme. |
Implements IWebBrowserSingleton.
|
inlineoverridevirtual |
Set a reference to UWebBrowser's default material
Implements IWebBrowserSingleton.
|
inlineoverridevirtual |
Set a reference to UWebBrowser's translucent material
Implements IWebBrowserSingleton.
Enable or disable CTRL/CMD-SHIFT-I shortcut to show the Chromium Dev tools window. The value defaults to true on debug builds, otherwise false.
The relevant handlers for spawning new browser windows have to be set up correctly in addition to this flag being true before anything is shown.
| Value | a boolean value to enable or disable the keyboard shortcut. |
Implements IWebBrowserSingleton.
|
inlineoverridevirtual |
Enable or disable to-lowering of JavaScript object member bindings.
Due to how JavaScript to UObject bridges require the use of FNames for building up the JS API objects, it is possible for case-sensitivity issues to develop if an FName has been previously created with differing case to your function or property names. To-lowering the member names allows a guaranteed casing for the web page's JS to reference.
Default behavior is enabled, so that all JS side objects have only lowercase members.
| bEnabled | a boolean value to enable or disable the to-lowering. |
Implements IWebBrowserSingleton.
Pure virtual that must be overloaded by the inheriting class.
| DeltaTime | time passed since the last call. |
Implements FTSTickerObjectBase.
|
overridevirtual |
Implements IWebBrowserSingleton.
|
overridevirtual |
Unregister a custom scheme handler factory. The factory may still be used by existing open browser windows, but will no longer be provided for new ones.
| WebBrowserSchemeHandlerFactory | The factory implementation to remove. |
Implements IWebBrowserSingleton.