MapCamera beta
Interface of @v12-engine/engine
ts
export interface MapCameraA view of the map saved under a name: what the camera looks at, from how far, which way and how steeply. For cinematics (cut.camera('gate')), a player's first view, and code (client.lookFrom('gate')). The screen's
Members
distance
ts
distance: number;How far the camera is from what it looks at
id
ts
id: number;The editor's, see MapRegion.id
name
ts
name: string;The camera's name, which cinematics and code find it by
pitch
ts
pitch: number;The angle between the view and the ground, in radians
x
ts
x: number;The camera's target on the map's x axis, in cells
yaw
ts
yaw: number;Radians around the vertical axis, 0 looking north, and between the view and the ground
z
ts
z: number;The camera's target on the map's z axis, in cells