Skip to content

galavi / Camera

Interface: Camera

Defined in: types.ts:211

Camera — position and orientation in physical space

Properties

navMode: "orbit" | "fly"

Defined in: types.ts:213

Navigation mode


projMode

projMode: "perspective" | "orthographic"

Defined in: types.ts:215

Projection mode


position

position: Vec3

Defined in: types.ts:217

Camera position spatial coordinates


target

target: Vec3

Defined in: types.ts:219

Focal point spatial coordinates


up?

optional up: Vec3

Defined in: types.ts:221

Up direction vector, default [0,1,0]

Released under the GPL-3.0 License.