@equinor/videx-3d
Preparing search index...
sdk
readDepth
Function readDepth
readDepth
(
depthTexture
:
Texture
,
renderer
:
WebGLRenderer
,
camera
:
PerspectiveCamera
,
idx
?:
number
,
)
:
Promise
<
number
|
number
[]
|
null
>
Read-back the normalized device coordinates from a depth texture
Parameters
depthTexture
:
Texture
renderer
:
WebGLRenderer
camera
:
PerspectiveCamera
Optional
idx
:
number
Returns
Promise
<
number
|
number
[]
|
null
>
Settings
Theme
OS
Light
Dark
@equinor/videx-3d
Loading...
Read-back the normalized device coordinates from a depth texture