我想淡化A-Frame中的实体,我似乎无法找到使用该文档的解决方案。任何帮助,将不胜感激 谢谢!
答案 0 :(得分:2)
包含动画组件:https://github.com/ngokevin/kframe/tree/master/components/animation
然后:
<a-box animation="property: components.material.material.opacity; from: 1; to: 0"></a-box>
我通过components
进行跳过A-Frame setAttribute的高效补间。
答案 1 :(得分:1)