DepthDisplacedGeometry constructor

DepthDisplacedGeometry({
  1. required int widthSegments,
  2. required int heightSegments,
  3. required double width,
  4. required double height,
  5. required List<double> depthMap,
  6. double maxDisplacement = 1.0,
})

Implementation

DepthDisplacedGeometry({
  required this.widthSegments,
  required this.heightSegments,
  required this.width,
  required this.height,
  required this.depthMap,
  this.maxDisplacement = 1.0,
}) : super(
       vertices: _buildVertices(
         widthSegments,
         heightSegments,
         width,
         height,
         depthMap,
         maxDisplacement,
       ),
       indices: _buildIndices(widthSegments, heightSegments),
     );