Aframe 在a帧虚拟现实世界中创建金字塔需要哪些代码和属性?

Aframe 在a帧虚拟现实世界中创建金字塔需要哪些代码和属性?,aframe,Aframe,我需要一个a字框架的金字塔。如何使用“圆锥体”功能获得金字塔的形状 <a-pyramid color="green" height="20" width="30" depth="10" position="0 1 -3"></a-pyramid> <a-pyramid color="green" height="20" width="30" depth="10" position="0 1 -3"></a-pyramid> 没

我需要一个a字框架的金字塔。如何使用“圆锥体”功能获得金字塔的形状

    <a-pyramid color="green" height="20" width="30" depth="10" position="0 1 -3"></a-pyramid>


    <a-pyramid color="green" height="20" width="30" depth="10" position="0 1 -3"></a-pyramid>

没有显示任何内容。

左下角有一个可用原语列表

您可以从以下方法开始:

合并:

小提琴

或者创建一个自定义几何体,如所述。
<a-triangle vertex-a="1 0 0" vertex-b="-1 0 0" vertex-c=" 0 1 -0.5"></a-triangle>
... and so on