CLASSES
TagsA - Z

DeviceOrientationCamera

NodeCameraTargetCameraFreeCamera

Description

class DeviceOrientationCamera extends FreeCamera

Constructor

new DeviceOrientationCamera(name, position, scene)

Create a new DeviceOrientationCamera. It's a camera controlled by device orientation A tutorial about DeviceOrientationCamera can be found here : https://doc.babylonjs.com/tutorials/Cameras

Parameters

Name Type Description
name string
position Vector3
scene Scene

Methods

getTypeName() → string

resetToCurrentRotation(axis) → void

Parameters

Name Type Description
optional axis Axis