Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
A-Frame で 2 つの質問があります
まず、A フレームでは、カメラがあり、特定のサイズ (たとえば 1366x768 または 700*700) のみを表示したいとします。どうすればそれを実現できますか?
エンティティ タグにカメラを取り付けました
<a-entity> <a-camera><a-camera> </a-entity>
2 つ目は、常にスカイボックス内の同じ場所を見ているように、カメラでスカイボックスを移動することは可能ですか?
埋め込みコンポーネントをアタッチし、キャンバスを CSS でスタイルします。これはカメラとは関係ありません。キャンバスのサイズです。
<a-scene embedded>...</a-scene> a-scene { width: 50%; }