UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

28 lines (27 loc) 630 B
"use strict"; import { TypedContainer } from "./_Base"; export class AnimationContainer extends TypedContainer { set_content(content) { super.set_content(content); } setTimelineBuilder(timeline_builder) { return this.set_content(timeline_builder); } timelineBuilder() { return this.content(); } coreContentCloned() { if (this._content) { return this._content.clone(); } } // infos() { // const node = this.node() // return [ // `full path: ${node.path()}`, // `${node.cooks_count()} cooks`, // `cook time: ${node.cook_time()}`, // this.content(), // ] // } }