Skip to content

KBE3D / KBCore / Cesium / SceneTransforms

SceneTransforms

Functions that do scene-dependent transforms between rendering-related coordinate systems.

函数

函数描述
worldToWindowCoordinatesTransforms a position in world (WGS84 or alternative ellipsoid) coordinates to window coordinates. This is commonly used to place an HTML element at the same screen position as an object in the scene.
worldToDrawingBufferCoordinatesTransforms a position in world coordinates to drawing buffer coordinates. This may produce different results from SceneTransforms.worldToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.

KBE3D @3.0.0 Copyright © 2024-present KBE3D