ArcRotateCamera

The camera moving by a sphere polar coordinates. Extends from Camera.

Contructor

new G3D.ArcRotateCamera(scene);

options

name type description
scene G3D.Scene the g3d scene you want to put the camera in

Properties

name type description
radius Number the distance between camera and it's look at point (center point)
alpha Number the alpha angle (on X-Z plane), from 0 to 360
beta Number the beta angle (vertical to Y axis), from -180 to 180

Methods

There's no public methods for Engine.

Examples

const camera = new G3D.ArcRotateCamera(scene);

camera.alpha = 90;
camera.beta = 45;
camera.radius = 500;

camera.near = 1;
camera.far = 3000;