Skip to main content

@novorender/api / CameraControllerInitialValues

Interface: CameraControllerInitialValues

Defined in: @novorender/src/web_app/view.ts:1679

Optional values to initialize camera controller.

Properties

fov?

readonly optional fov: number;

Defined in: @novorender/src/web_app/view.ts:1689

The camera field of view.

See

RenderStateCamera.fov.


pivot?

readonly optional pivot: ReadonlyVec3;

Defined in: @novorender/src/web_app/view.ts:1681

The camera pivot position.


position?

readonly optional position: ReadonlyVec3;

Defined in: @novorender/src/web_app/view.ts:1683

The camera position.


rotation?

readonly optional rotation: ReadonlyQuat;

Defined in: @novorender/src/web_app/view.ts:1685

The camera rotation.