How to use the InfiniteGridHelper function from three

Find comprehensive JavaScript three.InfiniteGridHelper code examples handpicked from public code repositorys.

226
227
228
229
230
231
232
233
234
235
236
237
238
239
240


		}


	}


	Object.assign(InfiniteGridHelper.prototype, THREE.InfiniteGridHelper.prototype);


	THREE.InfiniteGridHelper = InfiniteGridHelper;


}
fork icon0
star icon7
watch icon0

208
209
210
211
212
213
214
215
216

texture.wrapS = THREE.RepeatWrapping;
texture.wrapT = THREE.RepeatWrapping;
texture.repeat.set(8, 8);

const gridHelper = new THREE.InfiniteGridHelper(5, 100, new THREE.Color("white"), 100)
gridHelper.rotateX(Math.PI / 2.0);
gridHelper.position.setZ(-.3)
SceneManager.add(gridHelper)
fork icon0
star icon7
watch icon0

+ 3 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)