Camera Settings

Up-Down (Tilt) Rotation
Left-Right (Direct) Rotation
Altitude Setting
Location Setting
Viewpoint Setting
Last updated

Last updated
Module.getViewCamera().setTilt(90); // Vertical to the terrain (looking at the terrain)
Module.getViewCamera().setTilt(0); // Horizontal to the terrain
Module.getViewCamera().setTilt(-90); // Vertical to the terrain (back to the terrain)Module.getViewCamera().setDirect(0); // Facing North
Module.getViewCamera().setDirect(-90); // Facing East
Module.getViewCamera().setDirect(-180); // Facing South
Module.getViewCamera().setDirect(90); // Facing West
## Field of View (Fov) Setting
> Set the camera's field of view (default is 45).
```javascript
Module.getViewCamera().setFov(45);Module.getViewCamera().setAltitude(1000);Module.getViewCamera().setLocation(new Module.JSVector3D(127.06205102069177, 37.50848251498306, 51.0700191501528));Module.getViewCamera().setMoveMode(true); // First-person
Module.getViewCamera().setMoveMode(false); // Third-person