UNPKG

@polygonjs/polygonjs

Version:

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

24 lines (23 loc) 677 B
"use strict"; import { ParamLessBaseManagerObjNode } from "./_BaseManager"; import { NodeContext, NetworkNodeType } from "../../poly/NodeContext"; import { ObjNodeRenderOrder } from "./_Base"; export class MaterialsNetworkObjNode extends ParamLessBaseManagerObjNode { constructor() { super(...arguments); this.renderOrder = ObjNodeRenderOrder.MANAGER; this._childrenControllerContext = NodeContext.MAT; } static type() { return NetworkNodeType.MAT; } createNode(node_class, options) { return super.createNode(node_class, options); } children() { return super.children(); } nodesByType(type) { return super.nodesByType(type); } }