<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yotiky</author_name>
  <author_url>https://blog.hatena.ne.jp/yotiky/</author_url>
  <blog_title>yotiky Tech Blog</blog_title>
  <blog_url>https://yotiky.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>.NET</anon>
    <anon>WebGL</anon>
    <anon>WPF</anon>
  </categories>
  <description>Unity 2019.3以降、「Unity as a Library」というAndroidやiOSのネイティブアプリに、Unityで作成したアプリをライブラリとして埋め込む機能が提供されています。 unity.com WebGL 自体はこの中に含まれないのですが、検証ついでに Unity で生成した WebGL のコンテンツを WPF で動かしたのでその覚書になります。 導入 WPF で標準で使える WebBrowser では IE の古いバージョンを使用しているらしく、WebGL がサポートされていません。*1 以前はレジストリをいじるなどの方法を使ったりしたようですが、WebView2 （…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyotiky.hatenablog.com%2Fentry%2Fdotnet_webview2&quot; title=&quot;.NET - WebGLをWPFでホストする（WebView2 で Unity as a Library） - yotiky Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yotiky/20200810/20200810061645.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-10 06:27:17</published>
  <title>.NET - WebGLをWPFでホストする（WebView2 で Unity as a Library）</title>
  <type>rich</type>
  <url>https://yotiky.hatenablog.com/entry/dotnet_webview2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
