{"id":3320,"date":"2019-01-07T17:43:58","date_gmt":"2019-01-07T08:43:58","guid":{"rendered":"https:\/\/nantoka.filmm.info\/blog\/?p=3320"},"modified":"2019-01-07T17:47:30","modified_gmt":"2019-01-07T08:47:30","slug":"%e5%8d%98%e7%9c%bcvr%e7%94%a8%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88","status":"publish","type":"post","link":"https:\/\/nantoka.filmm.info\/blog\/?p=3320","title":{"rendered":"\u5358\u773cVR\u7528\u30b9\u30af\u30ea\u30d7\u30c8"},"content":{"rendered":"<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: csharp; light: false; title: ; toolbar: true; notranslate\" title=\"\">\nusing System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class gyroCam : MonoBehaviour {\n\n\t\/\/ Use this for initialization\n\tvoid Start () {\n\t\tInput.gyro.enabled = true;\n\t}\n\t\n\t\/\/ \u6a2a\u4f4d\u7f6e\u7528\n\tvoid Update () {\n\t\ttransform.rotation = Quaternion.AngleAxis(90.0f,Vector3.right)*Input.gyro.attitude*Quaternion.AngleAxis(180.0f,Vector3.forward);\n\t}\n}\n<\/pre><\/div>\n\n\n<p>\u30b9\u30de\u30fc\u30c8\u30db\u30f3\u306e\u30b8\u30e3\u30a4\u30ed\u306b\u5fdc\u3058\u3066\u30ab\u30e1\u30e9\u304c\u79fb\u52d5\u3057\u307e\u3059\uff0eAndroid\u306f\u30b8\u30e3\u30a4\u30ed\u304c\u642d\u8f09\u3055\u308c\u3066\u3044\u306a\u3044\u6a5f\u7a2e\u3082\u591a\u3044\u306e\u3067\u4f7f\u3048\u306a\u3044\u3053\u3068\u3082\u3042\u308a\u307e\u3059\uff0e<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/nantoka.filmm.info\/blog\/wp-content\/uploads\/2019\/01\/santa.mp4\"><\/video><figcaption>\u52d5\u4f5c\u4f8b<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u30b9\u30de\u30fc\u30c8\u30db\u30f3\u306e\u30b8\u30e3\u30a4\u30ed\u306b\u5fdc\u3058\u3066\u30ab\u30e1\u30e9\u304c\u79fb\u52d5\u3057\u307e\u3059\uff0eAndroid\u306f\u30b8\u30e3\u30a4\u30ed\u304c\u642d\u8f09\u3055\u308c\u3066\u3044\u306a\u3044\u6a5f\u7a2e\u3082\u591a\u3044\u306e\u3067\u4f7f\u3048\u306a\u3044\u3053\u3068\u3082\u3042\u308a\u307e\u3059\uff0e<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,2],"tags":[],"class_list":["post-3320","post","type-post","status-publish","format-standard","hentry","category-c","category-unity"],"_links":{"self":[{"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3320"}],"version-history":[{"count":3,"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3320\/revisions"}],"predecessor-version":[{"id":3326,"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3320\/revisions\/3326"}],"wp:attachment":[{"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}