polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
21 lines (19 loc) • 656 B
text/typescript
// import {BaseSopNode} from '../_Base';
// import {CoreConstant} from '../../../../core/geometry/Constant';
// import {ParamType} from '../../../poly/ParamType';
export class AttribTypeController {
// static add_attrib_class_param(node: BaseSopNode<any>, attrib_name = 'attrib_class') {
// const keys = Object.keys(CoreConstant.ATTRIB_CLASS);
// node.add_param(ParamType.INTEGER, attrib_name, CoreConstant.ATTRIB_CLASS.VERTEX, {
// menu: {
// // type: 'radio',
// entries: keys.map((name) => {
// return {
// name: name,
// value: (CoreConstant.ATTRIB_CLASS as any)[name],
// };
// }),
// },
// });
// }
}