The following code was copied straight from Cesium documentation however does not work.
// Example 1
// Get the width and height of a pixel.
var pixelSize = camera.frustum.getPixelSize({
width : canvas.clientWidth,
height : canvas.clientHeight
});
``
Does anyone know why?
This function seemed very useful in order to display stuff auto-scaled to the current camera position.