【问题标题】:Is there a way to create a hollowed circle in A-Frame?有没有办法在 A-Frame 中创建一个空心圆圈?
【发布时间】:2020-05-11 21:39:03
【问题描述】:

我正在尝试使用 A-Frame 构建 Flower of Life VR 示例。

我发现最接近的是使用<a-circle> 中的opacity 属性。

有没有办法只创建圆的边框?

【问题讨论】:

    标签: aframe virtual-reality webvr


    【解决方案1】:

    不确定它是否适合您的用例,但您可以使用高度较小的圆柱体: https://aframe.io/docs/1.0.0/primitives/a-cylinder.html

    或管: https://github.com/donmccurdy/aframe-extras/tree/master/src/primitives

    或者只是一个带有png纹理的平面和一个透明的圆形

    【讨论】:

      猜你喜欢
      • 2016-04-04
      • 2021-11-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-13
      • 1970-01-01
      • 2019-11-01
      • 1970-01-01
      相关资源
      最近更新 更多