import {TypedNode} from '../_Base'; import {NodeContext} from '../../poly/NodeContext'; import {NodeParamsConfig} from '../utils/params/ParamsConfig'; import {FlagsControllerB} from '../utils/FlagsController'; import {TimelineBuilder} from '../../../core/animation/TimelineBuilder'; const INPUT_GEOMETRY_NAME = 'input animation clip'; const DEFAULT_INPUT_NAMES = [INPUT_GEOMETRY_NAME, INPUT_GEOMETRY_NAME, INPUT_GEOMETRY_NAME, INPUT_GEOMETRY_NAME]; export class TypedAnimNode extends TypedNode { public readonly flags: FlagsControllerB = new FlagsControllerB(this); static nodeContext(): NodeContext { return NodeContext.ANIM; } static displayedInputNames(): string[] { return DEFAULT_INPUT_NAMES; } initializeBaseNode() { this.io.outputs.set_has_one_output(); } set_timeline_builder(timeline_builder: TimelineBuilder) { this.setContainer(timeline_builder); } } export type BaseAnimNodeType = TypedAnimNode; export class BaseAnimNodeClass extends TypedAnimNode {}