UNPKG

@polygonjs/polygonjs

Version:

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

29 lines (28 loc) 789 B
"use strict"; import { ParamLessBaseManagerObjNode } from "./_BaseManager"; import { NodeContext, NetworkNodeType } from "../../poly/NodeContext"; import { ObjNodeRenderOrder } from "./_Base"; class BaseAnimationsObjNode extends ParamLessBaseManagerObjNode { constructor() { super(...arguments); this._childrenControllerContext = NodeContext.ANIM; } static type() { return NetworkNodeType.ANIM; } createNode(node_class, options) { return super.createNode(node_class, options); } children() { return super.children(); } nodesByType(type) { return super.nodesByType(type); } } export class AnimationsNetworkObjNode extends BaseAnimationsObjNode { constructor() { super(...arguments); this.renderOrder = ObjNodeRenderOrder.MANAGER; } }