UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWebView3DInputHandler Class Reference

#include <WebView3DInputHandler.h>

Public Member Functions

 FWebView3DInputHandler ()
 
void SendMouseEventToJS (IWebBrowserWindow &InWindow, const FString &EventName, const FPointerEvent &MouseEvent)
 
void SendCharEventToJS (IWebBrowserWindow &InWindow, const FCharacterEvent &CharEvent)
 
void SendKeyEventToJS (IWebBrowserWindow &InWindow, const FString &EventName, const FKeyEvent &KeyEvent)
 

Detailed Description

Helper class for ApplePlatformWebBrowser's FWebBrowserWindow to handle input with 3D WKWebView Web Browser widgets.

Warning
Due to WebKit limitations, all input events dispatched in 3D mode will be untrusted (i.e. Event.isTrusted will be false).

Constructor & Destructor Documentation

◆ FWebView3DInputHandler()

FWebView3DInputHandler::FWebView3DInputHandler ( )

Member Function Documentation

◆ SendCharEventToJS()

void FWebView3DInputHandler::SendCharEventToJS ( IWebBrowserWindow InWindow,
const FCharacterEvent CharEvent 
)

◆ SendKeyEventToJS()

void FWebView3DInputHandler::SendKeyEventToJS ( IWebBrowserWindow InWindow,
const FString &  EventName,
const FKeyEvent KeyEvent 
)

◆ SendMouseEventToJS()

void FWebView3DInputHandler::SendMouseEventToJS ( IWebBrowserWindow InWindow,
const FString &  EventName,
const FPointerEvent MouseEvent 
)

The documentation for this class was generated from the following files: