Slide 26
Slide 26 text
様々なARの実装(アニメーションAR)
const MyScene = () => {
ViroAnimations.registerAnimations({
slowRotate: {
properties: { rotateY: "+=360" },
duration: 4000,
easing: "Linear",
},
});
return (
);
};
① コード上で実装するアニメーション
● 動かしたいオブジェクトのanimationに
“slowRotate”を設定
● ループ再⽣