Skip to content
M2O Scripting APIScripting reference
Data shapeClient APIGenerated

CameraMatrix

Defined in: client/api.d.ts:1051

The view the engine is about to render.

fieldOfView: number

Defined in: client/api.d.ts:1070

Horizontal field of view in degrees.


position: Vector3

Defined in: client/api.d.ts:1055

World-space eye position.


roll: number

Defined in: client/api.d.ts:1075

Roll around the view axis, in radians.


target: Vector3

Defined in: client/api.d.ts:1060

World-space point the camera looks at.


up: Vector3

Defined in: client/api.d.ts:1065

World-space up direction.