Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
299 lines (297 loc) · 18.1 KB
/
Copy pathindex.html
File metadata and controls
299 lines (297 loc) · 18.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<meta name="generator" content="Doxygen 1.16.1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="GPU-accelerated WebView plugin for Unreal Engine. UCefView delivers GPU-accelerated rendering, seamless cross-platform integration and both C++ code and Blueprint development approaches." />
<meta name="google-site-verification" content="1Cc6um0RQMBPsodrdQSNSHdgO6_TDw5SSwudaPqYzo0" />
<title>UCefView: UCefView</title>
<link href="tabs.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript" src="doxygen-awesome-fragment-copy-button.js"></script>
<script type="text/javascript" src="doxygen-awesome-paragraph-link.js"></script>
<script type="text/javascript" src="doxygen-awesome-interactive-toc.js"></script>
<script type="text/javascript" src="doxygen-awesome-tabs.js"></script>
<script type="text/javascript" src="toggle-alternative-theme.js"></script>
<script type="text/javascript">
DoxygenAwesomeFragmentCopyButton.init()
DoxygenAwesomeDarkModeToggle.init()
DoxygenAwesomeParagraphLink.init()
DoxygenAwesomeInteractiveToc.init()
DoxygenAwesomeTabs.init()
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<style>
.github-corner {
position: fixed;
top: 0;
right: 0;
z-index: 1000;
display: block;
width: 72px;
height: 72px;
}
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0)
}
20%,
60% {
transform: rotate(-25deg)
}
40%,
80% {
transform: rotate(10deg)
}
}
@media (max-width:500px) {
.github-corner:hover .octo-arm {
animation: none
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out
}
}
</style>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(function() { init_search(); });
</script>
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only-darkmode-toggle.css" rel="stylesheet" type="text/css"/>
<link href="custom.css" rel="stylesheet" type="text/css"/>
<link href="theme-robot.css" rel="stylesheet" type="text/css"/>
<link href="theme-round.css" rel="stylesheet" type="text/css"/>
<link href="custom-alternative.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<a href="https://github.com/CefView/UCefView" class="github-corner" title="View source on GitHub" target="_blank"
rel="noopener noreferrer">
<svg viewBox="0 0 250 250" width="40" height="40"
style="position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path
d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
<path
d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor" class="octo-body"></path>
</svg>
</a>
<!-- do not remove this div, it is closed by doxygen! -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="projectlogo"><img alt="Logo" src="logo.png" /></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">
UCefView <span id="projectnumber">1.1.0</span>
<span>
<a href="https://fab.com/s/ec232806c889" target="_blank">Install On Fab</a>
<img src="https://static.fab.com/static/builds/web/dist/frontend/assets/images/common/favicon/fa542c422510c7748b38c2d0ae41b8d7-v1.png"
alt="Fab logo" style="width: 24px; width: 24px;">
</span>
</div>
<div id="projectbrief">GPU-accelerated WebView plugin for Unreal Engine. UCefView delivers GPU-accelerated rendering, seamless cross-platform integration and both C++ code and Blueprint development approaches.</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" class="search-icon" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"><span class="search-icon-dropdown"></span></span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><div id="MSearchCloseImg" class="close-icon"></div></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
<div id="theme-selection">
<span class="language-selection" aria-label="Language">
<a href="javascript:void(0)" onclick="switchDocsLanguage('en')">English</a>
<a href="javascript:void(0)" onclick="switchDocsLanguage('zh')">简体中文</a>
</span>
<!-- <label for="theme-select">Theme:</label>
<select id="theme-select">
<option value="theme-default">Default</option>
<option value="theme-round">Round</option>
<option value="theme-robot">Robot</option>
</select> -->
</div>
</div>
<script type="text/javascript">
function switchDocsLanguage(language) {
var currentUrl = new URL(window.location.href);
var pathParts = currentUrl.pathname.split('/');
var zhIndex = pathParts.indexOf('zh');
if (language === 'zh' && zhIndex < 0) {
var lastPathPart = pathParts[pathParts.length - 1];
var isDirectoryIndex = lastPathPart === '';
var insertIndex = isDirectoryIndex || lastPathPart.indexOf('.') >= 0 ? pathParts.length - 1 : pathParts.length;
pathParts.splice(insertIndex, 0, 'zh');
if (isDirectoryIndex) {
pathParts[pathParts.length - 1] = 'index.html';
}
} else if (language === 'en' && zhIndex >= 0) {
pathParts.splice(zhIndex, 1);
if (pathParts[pathParts.length - 1] === '') {
pathParts[pathParts.length - 1] = 'index.html';
}
}
currentUrl.pathname = pathParts.join('/');
window.location.href = currentUrl.href;
}
</script>
<!-- end header part -->
<!-- Generated by Doxygen 1.16.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(function(){initNavTree('index.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div><div class="header">
<div class="headertitle"><div class="title"><a class="el" href="class_u_cef_view.html" title="UCefView is a UMG widget that embeds a Chromium Embedded Framework (CEF) browser view within Unreal E...">UCefView</a> </div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p><a class="anchor" id="md__docs_200-_main"></a></p>
<p><b>GPU-accelerated WebView plugin for Unreal Engine</b></p>
<p><a href="https://fab.com/s/ec232806c889">Get from FAB</a> | <a href="https://github.com/CefView/UCefViewPlayGroud">Demo Project on GitHub</a></p>
<p>Bring the power of Chromium Embedded Framework (CEF) to your Unreal Engine projects with <a class="el" href="class_u_cef_view.html" title="UCefView is a UMG widget that embeds a Chromium Embedded Framework (CEF) browser view within Unreal E...">UCefView</a>. This plugin provides a robust and performant WebView component, enabling you to seamlessly integrate web-based content into your games and applications. <a class="el" href="class_u_cef_view.html" title="UCefView is a UMG widget that embeds a Chromium Embedded Framework (CEF) browser view within Unreal E...">UCefView</a> offers both Slate (<a class="el" href="class_s_cef_view.html" title="A Slate widget that embeds a Chromium Embedded Framework (CEF) browser.">SCefView</a>) and UMG (<a class="el" href="class_u_cef_view.html" title="UCefView is a UMG widget that embeds a Chromium Embedded Framework (CEF) browser view within Unreal E...">UCefView</a>) implementations, hardware-accelerated rendering, and a flexible JavaScript bridge for rich interactivity.</p>
<p>Install the XCef SDK separately in <b>Project Settings > Engine > <a class="el" href="class_u_cef_view.html" title="UCefView is a UMG widget that embeds a Chromium Embedded Framework (CEF) browser view within Unreal E...">UCefView</a> Settings > XCef SDK</b>, choose a compatible package, and restart the Editor. Editor and PIE reuse the shared installation; Live Coding does not copy SDK files. Packaged games include their target runtime. See <a class="el" href="ucefview_getting_started.html" title="Getting Started">Getting Started</a> and <a class="el" href="ucefview_update_xcef.html" title="XCef SDK Management">XCef SDK Management</a>.</p>
<p>CEF runs in the separate XCefHost process and can coexist with Unreal's built-in Web Browser. The current SDK integration supports Windows x64, macOS x86_64/arm64, and Linux x64.</p>
<ul>
<li>Supported Unreal Engine Version: <br />
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">5.0 </th><th class="markdownTableHeadNone">5.1 </th><th class="markdownTableHeadNone">5.2 </th><th class="markdownTableHeadNone">5.3 </th><th class="markdownTableHeadNone">5.4 </th><th class="markdownTableHeadNone">5.5 </th><th class="markdownTableHeadNone">5.6 </th><th class="markdownTableHeadNone">5.7 </th><th class="markdownTableHeadNone">5.8 </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">✅ </td></tr>
</table>
</li>
<li>Supported Target Platforms and Architecture: <br />
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">🖥️ </th><th class="markdownTableHeadNone">Platform </th><th class="markdownTableHeadNone">Architecture </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">Windows </td><td class="markdownTableBodyNone">x86_64 </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">macOS </td><td class="markdownTableBodyNone">x86_64 & Arm64 </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">Linux </td><td class="markdownTableBodyNone">x86_64 </td></tr>
</table>
<dl class="section warning"><dt>Warning</dt><dd><a class="el" href="class_u_cef_view.html" title="UCefView is a UMG widget that embeds a Chromium Embedded Framework (CEF) browser view within Unreal E...">UCefView</a> on Linux is currently in an experimental state. Only validated in headless mode</dd></dl>
</li>
<li>Supported RHI and Data Transfer Technology <br />
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone"></th><th class="markdownTableHeadNone">RHI </th><th class="markdownTableHeadNone">Data Transfer </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">DirectX 11 </td><td class="markdownTableBodyNone">Shared Texture </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">DirectX 12 </td><td class="markdownTableBodyNone">Shared Texture </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">Metal </td><td class="markdownTableBodyNone">Shared Texture </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">Vulkan </td><td class="markdownTableBodyNone">Pixel Buffer </td></tr>
</table>
</li>
<li>Supported Development Platforms: <br />
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">🖥️ </th><th class="markdownTableHeadNone">Platform </th><th class="markdownTableHeadNone">Version </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">Windows </td><td class="markdownTableBodyNone">Determined by the selected Unreal Engine and XCef/CEF SDK </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">macOS </td><td class="markdownTableBodyNone">Determined by the selected Unreal Engine and XCef/CEF SDK </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">✅ </td><td class="markdownTableBodyNone">Linux </td><td class="markdownTableBodyNone">Determined by the selected Unreal Engine and XCef/CEF SDK </td></tr>
</table>
</li>
</ul>
<h3 class="doxsection"><a class="anchor" id="autotoc_md1"></a>
In-Game and UI Examples</h3>
<table class="doxtable">
<tr>
<td align="center"><b>In-Game on Windows</b><br />
<img src="Windows-InGame.png" alt="Windows-InGame" class="inline"/></td><td align="center"><b>Menu on Windows</b><br />
<img src="Windows-Menu.png" alt="Windows-Menu" class="inline"/></td></tr>
<tr>
<td align="center"><b>In-Game on macOS</b><br />
<img src="macOS-InGame.png" alt="macOS-InGame" class="inline"/></td><td align="center"><b>Menu on macOS</b><br />
<img src="macOS-Menu.png" alt="macOS-Menu" class="inline"/></td></tr>
</table>
<h3 class="doxsection"><a class="anchor" id="autotoc_md2"></a>
Use Cases</h3>
<p><img src="browser-as-actors.png" alt="" class="inline" title="As Actor"/> </p>
<p><img src="browser-as-ui.png" alt="" class="inline" title="As Menu UI"/> </p>
<p><img src="browser-jsdialog.png" alt="" class="inline" title="Slate JSDialog"/> </p>
</div></div><!-- PageDoc -->
<a href="doxygen_crawl.html"></a>
</div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.16.1 </li>
</ul>
</div>
</body>
</html>