CameraPose
Defined in: client/api.d.ts:2382
Where this client is drawing from, as the renderer settled on it this frame.
Properties
Section titled “Properties”aspectRatio
Section titled “aspectRatio”aspectRatio:
number
Defined in: client/api.d.ts:2411
Width over height.
forward
Section titled “forward”forward:
Vector3
Defined in: client/api.d.ts:2391
Where it looks, as a unit vector.
fov:
number
Defined in: client/api.d.ts:2406
Vertical field of view in degrees. What the renderer settled on, which Hor+ adaptation and the window’s aspect both move – not what the game asked for.
position
Section titled “position”position:
Vector3
Defined in: client/api.d.ts:2386
The eye position, in world-space metres.
right:
Vector3
Defined in: client/api.d.ts:2396
Its own right, as a unit vector. Read off the camera rather than rebuilt from a yaw, so it carries roll.
up:
Vector3
Defined in: client/api.d.ts:2401
Its own up, as a unit vector.