<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>noshipu</author_name>
  <author_url>https://blog.hatena.ne.jp/noshipu/</author_url>
  <blog_title>のしメモ アプリ開発ブログ</blog_title>
  <blog_url>https://noshipu.hateblo.jp/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>ダウンロードしてきたりで取得したテクスチャ画像をソースコードでSpriteに変換したいときの手法 // てきとーにテクスチャ取得 Texture2D texture = GetTexture(); // Texture -&gt; Spriteに変換する Sprite texture_sprite = Sprite.Create(texture, new Rect(0,0,256,256), Vector2.zero); Sprite.Create()でSpriteを作成することができます。第1引数が対象のテクスチャ第2引数がサイズ第3引数がどの座標からとってくるか第4引数でpixelに対するスケー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoshipu.hateblo.jp%2Fentry%2F2014%2F10%2F22%2F015832&quot; title=&quot;Texture2DからSpriteを作成する - のしメモ アプリ開発ブログ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-10-22 01:58:32</published>
  <title>Texture2DからSpriteを作成する</title>
  <type>rich</type>
  <url>https://noshipu.hateblo.jp/entry/2014/10/22/015832</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
