camera.worldToScreen
worldToScreen(point: object): objectProject a world-space point to canvas pixel coordinates.
Pure world → screen, no cloudScene matrix. Mirrors the NDC → pixel math used by MapApi.latLngToScreen but operates directly on the camera's projection — no map / scene transform.
Steps:
- Vector3.project(camera) → NDC [-1, 1]
- NDC → pixel via the canvas clientWidth / clientHeight
Returns null when interaction or camera is not yet wired, or no canvas can be located.
point | object |
Returns: object