public void SetDepth(float minDepth, float maxDepth);

Parameters

minDepthThe value used to set minDepth.
maxDepthThe value used to set maxDepth.

Description 描述

Sets the minDepth and maxDepth filter properties and turns on depth filtering by setting useDepth to true.