Aframe中的自定义内容

时间:2016-04-23 14:06:46

标签: aframe

我可以为Aframe animations定义自定义宽容吗?

我希望CSS中有the cubic-bezier timing function可用的内容。

1 个答案:

答案 0 :(得分:1)

AFRAME支持的

These are the easings

对于立方宽松,您可以执行ease-cubicease-in-cubicease-out-cubicease-in-out-cubic

AFRAME使用tween.js进行值插值。如果有一个不受支持的函数,我们必须添加它并通过aframe公开它。这应该不难。