CameraPose
Defined in: client/api.d.ts:2140
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:2169
Width over height.
forward
Section titled “forward”forward:
Vector3
Defined in: client/api.d.ts:2149
Where it looks, as a unit vector.
fov:
number
Defined in: client/api.d.ts:2164
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:2144
The eye position, in world-space metres.
right:
Vector3
Defined in: client/api.d.ts:2154
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:2159
Its own up, as a unit vector.