DepthDisplacedGeometry constructor
DepthDisplacedGeometry({})
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),
);