UNPKG

@visactor/vrender-animate

Version:

This module provides a graph-based animation system for VRender.

15 lines (13 loc) 479 B
import { CommonIn, CommonOut } from "./common"; export class GroupFadeIn extends CommonIn { constructor(from, to, duration, easing, params) { super(from, to, duration, easing, params), this.keys = [ "baseOpacity" ], this.from = { baseOpacity: 0 }; } } export class GroupFadeOut extends CommonOut { constructor(from, to, duration, easing, params) { super(from, to, duration, easing, params), this.keys = [ "baseOpacity" ]; } }