标签: aframe
我可以为Aframe animations定义自定义宽容吗?
我希望CSS中有the cubic-bezier timing function可用的内容。
答案 0 :(得分:1)
These are the easings
对于立方宽松,您可以执行ease-cubic,ease-in-cubic,ease-out-cubic,ease-in-out-cubic。
ease-cubic
ease-in-cubic
ease-out-cubic
ease-in-out-cubic
AFRAME使用tween.js进行值插值。如果有一个不受支持的函数,我们必须添加它并通过aframe公开它。这应该不难。