UNPKG

@visactor/vrender-animate

Version:

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

25 lines (19 loc) 681 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: !0 }), exports.GroupFadeOut = exports.GroupFadeIn = void 0; const common_1 = require("./common"); class GroupFadeIn extends common_1.CommonIn { constructor(from, to, duration, easing, params) { super(from, to, duration, easing, params), this.keys = [ "baseOpacity" ], this.from = { baseOpacity: 0 }; } } exports.GroupFadeIn = GroupFadeIn; class GroupFadeOut extends common_1.CommonOut { constructor(from, to, duration, easing, params) { super(from, to, duration, easing, params), this.keys = [ "baseOpacity" ]; } } exports.GroupFadeOut = GroupFadeOut;