GridHelper 网格助手

—> LineSegments —> Object3D

function GridHelper( size, divisions, color1, color2 ) { } var helper = new THREE.GridHelper(30, 30); scene.add(helper);

Constructor

size divisions color1 color2
10 10 0x444444 0x888888
边框尺寸 分割数 垂直中心线颜色 网格线颜色