Method | Description | |
---|---|---|
CloudsEffect ( int scale = 250, int power = 50, int seed, ColorBgra fromColor = newColorBgra(), ColorBgra toColor = newColorBgra(), BlendMode blendMode = BlendMode.Normal ) : System |
Creates a new effect that will render clouds onto an image.
|
Method | Description | |
---|---|---|
RenderLine ( ISurface src, ISurface dst, Rectangle roi ) : void |
Method | Description | |
---|---|---|
CloudsEffect ( ) : System | ||
Fade ( double t ) : double | ||
Grad ( int hash, double x, double y ) : double | ||
Noise ( byte ix, byte iy, double x, double y, byte seed ) : double | ||
RenderClouds ( ISurface surface, Rectangle rect, int scale, byte seed, double power, ColorBgra colorFrom, ColorBgra colorTo ) : void |
public CloudsEffect ( int scale = 250, int power = 50, int seed, ColorBgra fromColor = newColorBgra(), ColorBgra toColor = newColorBgra(), BlendMode blendMode = BlendMode.Normal ) : System | ||
scale | int | The relative size of the clouds. Valid range is 2 - 1000. |
power | int | The power of the clouds. Valid range is 0 - 100. |
seed | int | Seed value for random generator. |
fromColor | ColorBgra | Initial cloud color. |
toColor | ColorBgra | Final cloud color. |
blendMode | BlendMode | Blend mode to use when applying clouds. |
return | System |
protected RenderLine ( ISurface src, ISurface dst, Rectangle roi ) : void | ||
src | ISurface | |
dst | ISurface | |
roi | Rectangle | |
return | void |