Skip to main content

flywave-mapview.imaprenderingmanager.readdepth

Home > @flywave/flywave-mapview > IMapRenderingManager > readDepth

IMapRenderingManager.readDepth() method

Read depth at a specific point

Signature:

readDepth(ndc: THREE.Vector2 | THREE.Vector3): number | null;

Parameters

Parameter

Type

Description

ndc

THREE.Vector2 | THREE.Vector3

Normalized device coordinates

Returns:



number \| null

Depth value or null