{"id":8253,"date":"2024-05-21T09:21:22","date_gmt":"2024-05-21T00:21:22","guid":{"rendered":"\/media\/?p=8253"},"modified":"2024-12-17T08:45:39","modified_gmt":"2024-12-16T23:45:39","slug":"r3f","status":"publish","type":"post","link":"https:\/\/www.flying-h.co.jp\/media\/2024\/05\/21\/r3f\/","title":{"rendered":"React Three Fiber\u30673D\u30e2\u30c7\u30eb\u3092\u8aad\u307f\u8fbc\u3080"},"content":{"rendered":"\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><a href=\"http:\/\/suger.fhw-web.com\/blog\/R3F\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"800\" height=\"377\" src=\"\/media\/wp-content\/uploads\/2024\/05\/thumb-1-800x377.jpg\" alt=\"\" class=\"wp-image-8255\" srcset=\"https:\/\/www.flying-h.co.jp\/media\/wp-content\/uploads\/2024\/05\/thumb-1-800x377.jpg 800w, https:\/\/www.flying-h.co.jp\/media\/wp-content\/uploads\/2024\/05\/thumb-1-300x141.jpg 300w, https:\/\/www.flying-h.co.jp\/media\/wp-content\/uploads\/2024\/05\/thumb-1-768x362.jpg 768w, https:\/\/www.flying-h.co.jp\/media\/wp-content\/uploads\/2024\/05\/thumb-1-1536x724.jpg 1536w, https:\/\/www.flying-h.co.jp\/media\/wp-content\/uploads\/2024\/05\/thumb-1.jpg 1781w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<p><br><a href=\"http:\/\/suger.fhw-web.com\/blog\/R3F\/\" target=\"_blank\" rel=\"noopener\" title=\"\">\u30c7\u30e2\u306f\u3053\u3061\u3089<\/a><br><br>React Three Fiber\uff08R3F\uff09\u3067\u7c21\u5358\u306a3D\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002<br>\u203b\u30e2\u30c7\u30eb\u306f<a href=\"https:\/\/www.blenderkit.com\/asset-gallery-detail\/ccdd8cbb-f9b5-427a-819b-e3975f84a35d\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Blenderkit<\/a>\u3088\u308a\u4f7f\u7528\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u3066\u304a\u308a\u307e\u3059\u3002<br><br>3D\u30e2\u30c7\u30eb\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u306e\u4f4d\u7f6e\u306b&lt;iframe>\u3092\u8a2d\u7f6e\u3059\u308b\u3053\u3068\u3067\u3001<br>\u307e\u308b\u30673D\u30e2\u30c7\u30eb\u4e0a\u3067web\u30b5\u30a4\u30c8\u3092\u8868\u793a\u3055\u305b\u3066\u3044\u308b\u3088\u3046\u306b\u63cf\u5199\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u307e\u305f\u3001\u5b9f\u969b\u306b\u30b7\u30fc\u30f3\u4e0a\u3067web\u30b5\u30a4\u30c8\u3092\u95b2\u89a7\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u305f\u308a\u3001\u30da\u30fc\u30b8\u5185\u3092\u30c9\u30e9\u30c3\u30b0\u3059\u308b\u3053\u3068\u3067\u30e2\u30c7\u30eb\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<br><br>React Three Fiber\uff08R3F\uff09\u3067\u306fReact\u306e\u3088\u3046\u306b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4e26\u3079\u3066\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8a18\u8ff0\u3057\u3066\u3044\u3051\u3070\u3088\u3044\u306e\u3067\u3001Three.js\u3067\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u3088\u308a\u5727\u5012\u7684\u306b\u624b\u8efd\u306b3D\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">React Three Fiber\uff08R3F\uff09\u3068\u306f<\/h2>\r\n\r\n\r\n\r\n<p>R3F\u306f\u3001React\u3067Three.js\u3092\u4f7f\u3063\u30663D\u30b7\u30fc\u30f3\u3092\u63cf\u753b\u3059\u308b\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<br>React\u306f\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u958b\u767a\u3067\u975e\u5e38\u306b\u4eba\u6c17\u306e\u3042\u308bJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3001<br>Three.js\u306fWebGL\u3092\u4f7f\u3063\u30663D\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<br>R3F\u306f\u3001\u3053\u306e2\u3064\u306e\u5f37\u529b\u306a\u6280\u8853\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001React\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u30d9\u30fc\u30b9\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u4f7f\u3063\u30663D\u30b7\u30fc\u30f3\u3092\u69cb\u7bc9\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u30c7\u30e2\u306e\u30b3\u30fc\u30c9<\/h2>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">index.jsx<\/h3>\r\n\r\n\r\n\r\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"import '.\/style.css';\r\nimport ReactDOM from 'react-dom\/client';\r\nimport { Canvas } from '@react-three\/fiber';\r\nimport Scene from '.\/Scene.jsx';\r\n\r\nconst root = ReactDOM.createRoot(document.querySelector('#root'));\r\n\r\nroot.render(\r\n  &lt;Canvas\r\n    camera={{\r\n      fov: 45,\r\n      near: 0.1,\r\n      far: 2000,\r\n      position: [-0.4, 1.2, 4],\r\n    }}\r\n  &gt;\r\n    &lt;Scene \/&gt;\r\n  &lt;\/Canvas&gt;\r\n);\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">.\/style.css<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">ReactDOM<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">from<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">react-dom\/client<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">{<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">Canvas<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">}<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">from<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">@react-three\/fiber<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">Scene<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">from<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">.\/Scene.jsx<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\r\n<span class=\"line\"><\/span>\r\n<span class=\"line\"><span style=\"color: #81A1C1\">const<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">root<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">ReactDOM<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #88C0D0\">createRoot<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #D8DEE9\">document<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #88C0D0\">querySelector<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">#root<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">))<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\r\n<span class=\"line\"><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9\">root<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #88C0D0\">render<\/span><span style=\"color: #D8DEE9FF\">(<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #8FBCBB\">Canvas<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #8FBCBB\">camera<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">      <\/span><span style=\"color: #88C0D0\">fov<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">45<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">      <\/span><span style=\"color: #88C0D0\">near<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">0.1<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">      <\/span><span style=\"color: #88C0D0\">far<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">2000<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">      <\/span><span style=\"color: #88C0D0\">position<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> [<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #B48EAD\">0.4<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">1.2<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">4<\/span><span style=\"color: #D8DEE9FF\">]<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #ECEFF4\">}<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #81A1C1\">&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #8FBCBB\">Scene<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">\/&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #81A1C1\">&lt;\/<\/span><span style=\"color: #8FBCBB\">Canvas<\/span><span style=\"color: #81A1C1\">&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">)<\/span><span style=\"color: #81A1C1\">;<\/span><\/span><\/code><\/pre><\/div>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Scene.jsx<\/h3>\r\n\r\n\r\n\r\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"import {\r\n  ContactShadows,\r\n  Environment,\r\n  Float,\r\n  Html,\r\n  PresentationControls,\r\n} from '@react-three\/drei';\r\nimport { useLoader } from '@react-three\/fiber';\r\nimport { GLTFLoader } from 'three\/examples\/jsm\/loaders\/GLTFLoader.js';\r\n\r\nexport default function Scene() {\r\n  const model = useLoader(GLTFLoader, '.\/pc.gltf');\r\n  return (\r\n    &lt;&gt;\r\n      &lt;mesh&gt;\r\n        &lt;Environment preset=&quot;city&quot; \/&gt;\r\n        &lt;PresentationControls\r\n          global\r\n          rotation={[0.13, 0.1, 0]}\r\n          polar={[-Math.PI \/ 8, Math.PI \/ 8]}\r\n          azimuth={[-Math.PI \/ 8, Math.PI \/ 8]}\r\n          config={{ mass: 2, tension: 400 }}\r\n          snap={{ mass: 4, tension: 400 }}\r\n        &gt;\r\n          &lt;Float rotationIntensity={0.3}&gt;\r\n            &lt;primitive\r\n              object={model.scene}\r\n              scale={[5, 5, 5]}\r\n              position-y={-0.8}\r\n            \/&gt;\r\n            &lt;Html\r\n              transform\r\n              wrapperClass=&quot;iframeWrapper&quot;\r\n              distanceFactor={0.76}\r\n              position={[0.12, 0.4, 0.1]}\r\n              rotation-x={-0.2}\r\n              rotation-y={0}\r\n            &gt;\r\n              &lt;iframe src=&quot;https:\/\/www.flying-h.co.jp\/&quot;&gt;&lt;\/iframe&gt;\r\n            &lt;\/Html&gt;\r\n          &lt;\/Float&gt;\r\n        &lt;\/PresentationControls&gt;\r\n        &lt;ContactShadows position-y={-1.5} blur={2} \/&gt;\r\n      &lt;\/mesh&gt;\r\n    &lt;\/&gt;\r\n  );\r\n}\r\n\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #8FBCBB\">ContactShadows<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #8FBCBB\">Environment<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #8FBCBB\">Float<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #8FBCBB\">Html<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #8FBCBB\">PresentationControls<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #ECEFF4\">}<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">from<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">@react-three\/drei<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">{<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">useLoader<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">}<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">from<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">@react-three\/fiber<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">{<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">GLTFLoader<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">}<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">from<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">three\/examples\/jsm\/loaders\/GLTFLoader.js<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\r\n<span class=\"line\"><\/span>\r\n<span class=\"line\"><span style=\"color: #81A1C1\">export<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">default<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">function<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">Scene<\/span><span style=\"color: #ECEFF4\">()<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #81A1C1\">const<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">model<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">useLoader<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #D8DEE9\">GLTFLoader<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">.\/pc.gltf<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\">)<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #81A1C1\">return<\/span><span style=\"color: #D8DEE9FF\"> (<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">&lt;&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">      <\/span><span style=\"color: #81A1C1\">&lt;mesh&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #8FBCBB\">Environment<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">preset<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">city<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">\/&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #8FBCBB\">PresentationControls<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">          <\/span><span style=\"color: #8FBCBB\">global<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">          <\/span><span style=\"color: #8FBCBB\">rotation<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #D8DEE9FF\">[<\/span><span style=\"color: #B48EAD\">0.13<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">0.1<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">0<\/span><span style=\"color: #D8DEE9FF\">]<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">          <\/span><span style=\"color: #8FBCBB\">polar<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #D8DEE9FF\">[<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Math<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">PI<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">8<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">Math<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">PI<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">8<\/span><span style=\"color: #D8DEE9FF\">]<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">          <\/span><span style=\"color: #8FBCBB\">azimuth<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #D8DEE9FF\">[<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Math<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">PI<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">8<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">Math<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">PI<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">8<\/span><span style=\"color: #D8DEE9FF\">]<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">          <\/span><span style=\"color: #8FBCBB\">config<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #ECEFF4\">{<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">mass<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">2<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">tension<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">400<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">}<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">          <\/span><span style=\"color: #8FBCBB\">snap<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #ECEFF4\">{<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">mass<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">4<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">tension<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">400<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">}<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #81A1C1\">&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">          <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #8FBCBB\">Float<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">rotationIntensity<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #B48EAD\">0.3<\/span><span style=\"color: #81A1C1\">}&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">            <\/span><span style=\"color: #81A1C1\">&lt;primitive<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">              <\/span><span style=\"color: #8FBCBB\">object<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #D8DEE9\">model<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">scene<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">              <\/span><span style=\"color: #8FBCBB\">scale<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #D8DEE9FF\">[<\/span><span style=\"color: #B48EAD\">5<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">5<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">5<\/span><span style=\"color: #D8DEE9FF\">]<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">              <\/span><span style=\"color: #8FBCBB\">position-y<\/span><span style=\"color: #81A1C1\">={-<\/span><span style=\"color: #B48EAD\">0.8<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">            <\/span><span style=\"color: #81A1C1\">\/&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">            <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #8FBCBB\">Html<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">              <\/span><span style=\"color: #8FBCBB\">transform<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">              <\/span><span style=\"color: #8FBCBB\">wrapperClass<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">iframeWrapper<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">              <\/span><span style=\"color: #8FBCBB\">distanceFactor<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #B48EAD\">0.76<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">              <\/span><span style=\"color: #8FBCBB\">position<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #D8DEE9FF\">[<\/span><span style=\"color: #B48EAD\">0.12<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">0.4<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">0.1<\/span><span style=\"color: #D8DEE9FF\">]<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">              <\/span><span style=\"color: #8FBCBB\">rotation-x<\/span><span style=\"color: #81A1C1\">={-<\/span><span style=\"color: #B48EAD\">0.2<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">              <\/span><span style=\"color: #8FBCBB\">rotation-y<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #B48EAD\">0<\/span><span style=\"color: #81A1C1\">}<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">            <\/span><span style=\"color: #81A1C1\">&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">              <\/span><span style=\"color: #81A1C1\">&lt;iframe<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">src<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">https:\/\/www.flying-h.co.jp\/<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #81A1C1\">&gt;&lt;\/iframe&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">            <\/span><span style=\"color: #81A1C1\">&lt;\/<\/span><span style=\"color: #8FBCBB\">Html<\/span><span style=\"color: #81A1C1\">&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">          <\/span><span style=\"color: #81A1C1\">&lt;\/<\/span><span style=\"color: #8FBCBB\">Float<\/span><span style=\"color: #81A1C1\">&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #81A1C1\">&lt;\/<\/span><span style=\"color: #8FBCBB\">PresentationControls<\/span><span style=\"color: #81A1C1\">&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #8FBCBB\">ContactShadows<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">position-y<\/span><span style=\"color: #81A1C1\">={-<\/span><span style=\"color: #B48EAD\">1.5<\/span><span style=\"color: #81A1C1\">}<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">blur<\/span><span style=\"color: #81A1C1\">={<\/span><span style=\"color: #B48EAD\">2<\/span><span style=\"color: #81A1C1\">}<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">\/&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">      <\/span><span style=\"color: #81A1C1\">&lt;\/mesh&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">&lt;\/&gt;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  )<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\r\n<span class=\"line\"><span style=\"color: #ECEFF4\">}<\/span><\/span>\r\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\r\n\r\n\r\n\r\n<p>\u30fbPresentationControls\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<br><strong>@react-three\/drei<\/strong>\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b3D\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u64cd\u4f5c\u3092\u5236\u5fa1\u3059\u308b\u305f\u3081\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3059\u3002\u30ab\u30e1\u30e9\u306e\u8996\u70b9\u3092\u5909\u3048\u308b\u305f\u3081\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3084\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u3088\u308b\u64cd\u4f5c\u3092\u5236\u5fa1\u3059\u308b\u6a5f\u80fd\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<br><strong>polar<\/strong>\u3068<strong>azimuth<\/strong>\u3067\u56de\u8ee2\u3092\u5236\u9650\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br><br>\u30fbFloat\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<br><strong>@react-three\/drei<\/strong>\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3001React Three Fiber\uff08R3F\uff09\u3092\u4f7f\u3063\u305f3D\u30b7\u30fc\u30f3\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6d6e\u904a\u3055\u305b\u308b\u3001\u307e\u305f\u306f\u3086\u3089\u3086\u3089\u3068\u3057\u305f\u52d5\u304d\u3092\u4e0e\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br><br>\u30fbHtml\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<br>3D\u7a7a\u9593\u306bHTML\u8981\u7d20\u3092\u8868\u793a: Html\u3092\u4f7f\u3046\u3068\u3001\u30b7\u30fc\u30f3\u5185\u306bHTML\u3092\u57cb\u3081\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u30013D\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u9023\u643a\u3057\u3066UI\u3092\u63d0\u4f9b\u3057\u305f\u308a\u3001\u60c5\u5831\u3092\u8868\u793a\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br><strong>wrapperClass<\/strong>\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067iframe\u306e\u5927\u304d\u3055\u3092CSS\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">\u30dd\u30a4\u30f3\u30c8<\/h3>\r\n\r\n\r\n\r\n<p>3D\u306e\u305f\u3081xyz\u8ef8\u3092\u8003\u616e\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u3067\u3001<br><strong>iframe<\/strong>\u306e\u4f4d\u7f6e\u3092\u30e2\u30c7\u30eb\u306e\u753b\u9762\u306b\u30d5\u30a3\u30c3\u30c8\u3055\u305b\u308b\u306e\u304c\u5c11\u3057\u624b\u9593\u304c\u304b\u304b\u308a\u307e\u3057\u305f\u3002<br>\u30ab\u30e1\u30e9\u3084\u30e2\u30c7\u30eb\u3084iframe\u306e\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u8abf\u6574\u3057\u307e\u3057\u305f\u3002<br><br>\u305d\u306e\u4ed6\u306e\u30dd\u30a4\u30f3\u30c8\u3068\u3057\u3066\u306f\u30e2\u30c7\u30eb\u306e\u88cf\u5074\u307e\u3067\u56de\u8ee2\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u3066\u3057\u307e\u3046\u3068\u3001<br>\u30e2\u30c7\u30eb\u3067\u3042\u308b\u30e2\u30cb\u30bf\u30fc\u306e\u80cc\u9762\u304c\u898b\u3048\u308b\u306f\u305a\u304ciframe\u304c\u512a\u5148\u3055\u308c\u3066web\u30b5\u30a4\u30c8\u304c\u6d6e\u3044\u3066\u308b\u3088\u3046\u306b\u898b\u3048\u3066\u3057\u307e\u3046\u306e\u3067\u3001<strong>polar<\/strong>\u3068<strong>azimuth<\/strong>\u3067\u56de\u8ee2\u3092\u5236\u9650\u3055\u305b\u3066\u3001\u30e2\u30c7\u30eb\u306e\u80cc\u9762\u3092\u898b\u3048\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<br><br>R3F\u306b\u306f\u4eca\u56de\u4f7f\u7528\u3057\u305f\u3082\u306e\u4ee5\u5916\u306b\u3082\u3068\u3066\u3082\u4fbf\u5229\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001<br>\u305c\u3072\u4e0b\u8a18\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3084GitHub\u3092\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br><\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">\u53c2\u8003<\/h2>\r\n\r\n\r\n\r\n<p>\u30fb<a href=\"https:\/\/docs.pmnd.rs\/react-three-fiber\/getting-started\/introduction\">React Three Fiber Documentation &#8211; Pmndrs.docs<\/a><br \/>\u30fb<a href=\"https:\/\/github.com\/pmndrs\/drei\">https:\/\/github.com\/pmndrs\/drei<\/a><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>R3F (React Three Fiber)\u3067\u7c21\u5358\u306a3D\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":18,"featured_media":8254,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"[]"},"categories":[1,4],"tags":[],"class_list":["post-8253","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website","category-markup"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/posts\/8253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/comments?post=8253"}],"version-history":[{"count":1,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/posts\/8253\/revisions"}],"predecessor-version":[{"id":9719,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/posts\/8253\/revisions\/9719"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/media\/8254"}],"wp:attachment":[{"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/media?parent=8253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/categories?post=8253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/tags?post=8253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}