Sp3dPaintImage constructor
Sp3dPaintImage(
- Sp3dMaterial material,
- bool imageBGisBlack
Constructor
- material : Sp3dMaterial object.
imageBGisBlack
: This specifies the filling of transparent parts of the image data. If false, transparent mode is enabled. Set to true only if compatibility with previous versions is required.
Implementation
Sp3dPaintImage(this.material, bool imageBGisBlack) {
_colors = imageBGisBlack ? _bgBlack : _bgTP;
}