BumpMapTransform Constructor (Double, AtalaImage, InterpolationMode) |
Creates a new instance of the BumpMapTransform effect.
Namespace:
Atalasoft.Imaging.ImageProcessing.Transforms
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public BumpMapTransform(
double smoothness,
AtalaImage bumpMapImage,
InterpolationMode transformMode
)
Public Sub New (
smoothness As Double,
bumpMapImage As AtalaImage,
transformMode As InterpolationMode
)
Parameters
- smoothness
- Type: SystemDouble
Controls smoothness of the effect (try between .5 and 1.5 to start). - bumpMapImage
- Type: Atalasoft.ImagingAtalaImage
An 8-bit grayscale image to use as the bump map. - transformMode
- Type: Atalasoft.Imaging.ImageProcessingInterpolationMode
Specifies the interpolation used with this transform.
Exceptions Exception | Condition |
---|
| Thrown if the smoothness is less than 0, or if bumpMapImage is not an 8-bit image. |
See Also