setDepth method

void setDepth(
  1. double depth, {
  2. bool stretch = false,
  3. Vector3? aboutPoint,
  4. Vector3 aboutEdge = ORIGIN,
})

Implementation

void setDepth(double depth,
    {bool stretch = false, Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) {
  rescaleToFit(depth, 2,
      stretch: stretch, aboutEdge: aboutEdge, aboutPoint: aboutPoint);
}