Navigation
API > API/Runtime > API/Runtime/WebBrowser
Inheritance Hierarchy
- ISlateViewport
- FWebBrowserViewport
References
| Module | WebBrowser |
| Header | /Engine/Source/Runtime/WebBrowser/Public/WebBrowserViewport.h |
| Include | #include "WebBrowserViewport.h" |
Syntax
class FWebBrowserViewport : public ISlateViewport
Remarks
A Slate viewport to display a Web Browser Window
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWebBrowserViewport
(
TSharedPtr< IWebBrowserWindow > InWebBrowserWindow, |
Default Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor. |
Overridden from ISlateViewport
| Type | Name | Description | |
|---|---|---|---|
| FIntPoint | GetSize () |
Returns the size of the viewport | |
| FSlateShaderResource * | Returns a slate texture used to draw the rendered viewport in Slate. | ||
| FCursorReply | OnCursorQuery
(
const FGeometry& MyGeometry, |
Called when Slate needs to know what the mouse cursor should be. | |
| void | OnFocusLost
(
const FFocusEvent& InFocusEvent |
Called when the viewport loses keyboard focus. | |
| FReply | OnFocusReceived
(
const FFocusEvent& InFocusEvent |
Called when the viewport gains keyboard focus. | |
| FReply | OnKeyChar
(
const FGeometry& MyGeometry, |
Called by Slate when a character key is pressed while the viewport has focus | |
| FReply | Called by Slate when a key is pressed inside the viewport | ||
| FReply | Called by Slate when a key is released inside the viewport | ||
| FReply | OnMouseButtonDoubleClick
(
const FGeometry& InMyGeometry, |
Called by Slate when the mouse wheel is used inside the viewport | |
| FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
Called by Slate when a mouse button is pressed inside the viewport | |
| FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
Called by Slate when a mouse button is released inside the viewport | |
| void | OnMouseEnter
(
const FGeometry& MyGeometry, |
||
| void | OnMouseLeave
(
const FPointerEvent& MouseEvent |
||
| FReply | OnMouseMove
(
const FGeometry& MyGeometry, |
Called by Slate when a mouse button is released inside the viewport | |
| FReply | OnMouseWheel
(
const FGeometry& MyGeometry, |
Called by Slate when the mouse wheel is used inside the viewport | |
| FReply | OnTouchGesture
(
const FGeometry& MyGeometry, |
Called on a touchpad gesture event | |
| bool | Returns true if the viewport should be vsynced. | ||
| void | Performs any ticking necessary by this handle |