Studio

depth( )

depth(): number[];

Returns

The range of z-coordinate values that map to the depth buffer. Z values less than the first element in the returned array will not be displayed (they're too close to the camera). Z values greater than the second element in the returned array will not be displayed (they're too far away from the camera).

Open in new window