0
您好我正在使用aframe的主分支,並且新文本「組件」似乎低於它所在的實體的分配高度,並帶有一些看不見的東西。 Codepen在這裏http://codepen.io/anon/pen/PWQXRP並嘗試移動到實體下方。此代碼是從360圖像畫廊,樣板回購修飾延伸過去實體高度的Aframe文本實體
<body>
<a-scene>
<a-assets>
<img id="cubes" crossorigin="anonymous" src="https://cdn.aframe.io/360-image-gallery-boilerplate/img/cubes.jpg">
</a-assets>
<a-sky id="image-360" radius="10" src="#cubes"></a-sky>
<a-entity layout="type: line; margin: 1.5" position="0 0 -3">
<a-entity
geometry="primitive: plane; height: 0.55; width: 1.9"
material="shader: flat; color: red"
text="value: Hello Worldllo Worldllo Worldllo Worldllo Worldllo Worldllo Worldllo Worldllo Worldllo Worldllo Worldllo World; color: black"></a-entity>
</a-entity>
<a-entity camera look-controls wasd-controls>
<a-cursor id="cursor"
animation__click="property: scale; startEvents: click; from: 0.1 0.1 0.1; to: 1 1 1; dur: 150"
event-set__1="_event: mouseenter; color: springgreen"
event-set__2="_event: mouseleave; color: black"></a-cursor>
</a-entity>
</a-scene>
新AFRAME所以不知道我在做什麼錯