DisplacementMapFilter::DisplacementMapFilter

DisplacementMapFilter::DisplacementMapFilter
DisplacementMapFilter(Render::Image* mapBitmap = 0, PointF mapPoint = PointF(0,0), DrawableImage::ChannelBits compx = DrawableImage::Channel_Red, DrawableImage::ChannelBits compy = DrawableImage::Channel_Red, DisplacementMode mode = DisplacementMode_Wrap, float scaleX = 0.0f, float scaleY = 0.0f, Color color = 0);
Description

DisplacementMapFilter constructor.

Parameters
Parameters 
Description 
Render::Image* mapBitmap = 0 
The image defining the displacement. 
PointF mapPoint = PointF(0,0) 
The offset into the displacement image. 
DrawableImage::ChannelBits compx = DrawableImage::Channel_Red 
The channel to use for the X displacement. 
DrawableImage::ChannelBits compy = DrawableImage::Channel_Red 
The channel to use for the Y displacement. 
DisplacementMode mode = DisplacementMode_Wrap 
The mode of displacement, when the coordinates are out-of-bounds. 
float scaleX = 0.0f 
The scaling to apply to the displacement map function. 
float scaleY = 0.0f 
The scaling to apply to the displacement map function. 
Color color = 0 
The value to use if DisplacementMode_Color is used (alpha channel contains 'alpha' component).