How to use the OrbitControls2 function from three

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

31
32
33
34
35
36
37
38
39
40
camera = new THREE.PerspectiveCamera( 80, window.innerWidth / window.innerHeight, 1, 1000 );
camera.position.set(150, 0, 380);
//camera
scene.add( camera );

//controls = new THREE.OrbitControls2( camera );
//controls.radius = 400;
//controls.speed = 3;

//
fork icon0
star icon0
watch icon2

Other functions in three

Sorted by popularity

function icon

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