depth(...)
depth(val: number[]): this;
Sets 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).
Parameters
Parameter | Type | Description |
---|---|---|
val | number[] | The range of z-coordinate values that map to the depth buffer. |
Returns
this