UNPKG

@polygonjs/polygonjs

Version:

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

23 lines (22 loc) 585 B
"use strict"; import { TypedObjNode } from "./_Base"; import { Group } from "three"; import { NodeParamsConfig } from "../utils/params/ParamsConfig"; export class BaseManagerObjNode extends TypedObjNode { constructor() { super(...arguments); this._attachableToHierarchy = false; } createObject() { const group = new Group(); group.matrixAutoUpdate = false; return group; } cook() { this.cookController.endCook(); } } class ParamLessObjParamsConfig extends NodeParamsConfig { } export class ParamLessBaseManagerObjNode extends BaseManagerObjNode { }