Accueil / npm / three@0.171.0 / src / nodes / core / StructTypeNode.js

StructTypeNode.js

import Node from './Node.js';

class StructTypeNode extends Node {

	static get type() {

		return 'StructTypeNode';

	}

	constructor( types ) {

		super();

		this.types = types;
		this.isStructTypeNode = true;

	}

	getMemberTypes() {

		return this.types;

	}

}

export default StructTypeNode;