pickPosition
fun pickPosition(windowPosition: Cartesian2, result: Cartesian3? = definedExternally): Cartesian3(source)
Returns the cartesian position reconstructed from the depth buffer and window position.
The position reconstructed from the depth buffer in 2D may be slightly different from those reconstructed in 3D and Columbus view. This is caused by the difference in the distribution of depth values of perspective and orthographic projection.
Set Scene.pickTranslucentDepth to true
to include the depth of translucent primitives; otherwise, this essentially picks through translucent primitives.
Return
The cartesian position.
Parameters
windowPosition
Window coordinates to perform picking on.
result
The object on which to restore the result.