Skip to content

depth( )

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

depth(): number[];

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).