iv.object > iv.camera

WebGL FinalMesh API | 3D Camera

iv.camera

Constructor

iv.camera(data)

Constructor creates new camera object and initialized it using optional data parameter.

data

Optional description of camera

Properties

from Camera location in camera coordiante system
to Camera target point in camera coordiante system
up Camera up point in camera coordiante system
fov Field of view - perspective camera. In degrees.
scale sclae - orthogonal camera

Methods

.load(data)

Method initializes properties of camera object.

data

Description of camera source.