var taCubeGeometry = new Array();
var taCubeMaterial = new Array();
var taCubeGeometry.push(new THREE.BoxGeometry( .5, .5, .5));
var taCubeMaterial.push(new THREE.MeshLambertMaterial({map: THREE.ImageUtils.loadTexture( "image.png" )}));
有可能这样做吗?然后将几何和meshLambertMaterial存储到Mesh变量?
var taCube = new THREE.Mesh(taCubeGeometry[index], taCubeMaterial[index]);
答案 0 :(得分:0)
没关系,你可以这样做。我的IDE在抱怨它;但这是一种误报。