UNPKG

@awayjs/graphics

Version:
27 lines (26 loc) 981 B
import { __extends } from "tslib"; import { AnimationNodeBase } from '@awayjs/renderer'; import { SkeletonDifferenceState } from '../states/SkeletonDifferenceState'; /** * A skeleton animation node that uses a difference input pose with a base input pose to blend a linearly interpolated output of a skeleton pose. */ var SkeletonDifferenceNode = /** @class */ (function (_super) { __extends(SkeletonDifferenceNode, _super); /** * Creates a new <code>SkeletonAdditiveNode</code> object. */ function SkeletonDifferenceNode() { var _this = _super.call(this) || this; _this._pStateClass = SkeletonDifferenceState; return _this; } /** * @inheritDoc */ SkeletonDifferenceNode.prototype.getAnimationState = function (animator) { return animator.getAnimationState(this); }; return SkeletonDifferenceNode; }(AnimationNodeBase)); export { SkeletonDifferenceNode }; export default SkeletonDifferenceNode;