【问题标题】:How to decrease A-frame 360 deg image size如何减小 A 帧 360 度图像尺寸
【发布时间】:2018-01-26 04:31:51
【问题描述】:

我想在a-scene 下方包含<h1><p> 标签。

例如:

    <a-scene>
  <a-sky src="http://i.imgur.com/9zATQ6s.jpg" rotation="0 -130 0"></a-sky>

  <a-text font="kelsonsans" value="Puy de Sancy, France" width="6" position="-2.5 0.25 -1.5"
          rotation="0 15 0"></a-text>
</a-scene>
<h1>test</h1>

现在test 在我的浏览器中是不可见的。如何显示test 以及如何减小a-scene 的大小

【问题讨论】:

    标签: aframe


    【解决方案1】:

    您可以使用 A-Frame 的嵌入式组件来调整画布的大小:

    &lt;a-scene embedded&gt;&lt;/a-scene&gt;
    查看Example / Docs

    【讨论】:

      猜你喜欢
      • 2011-12-26
      • 2017-04-17
      • 1970-01-01
      • 1970-01-01
      • 2015-01-27
      • 2011-08-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多