Public Member Functions

void Filter (int width, int height, Color[] pixels)
 

Public Attributes

float Radius = 10
 Set the radius of the kernel, and hence the amount of blur. More...
 
float Bloom = 2
 The bloom factor. More...
 
float BloomThreshold = 192f / 255f
 The threshold beyond which bloom occurs. More...
 
float Angle = 0
 The lens angle. More...
 
int Sides = 5
 Set the number of sides (e.g. 6 for hexagon). More...
 

Private Member Functions

double Mod (double a, double b)
 

Member Function Documentation

void Loonim.LensBlurFilter.Filter ( int  width,
int  height,
Color[]  pixels 
)
inline
double Loonim.LensBlurFilter.Mod ( double  a,
double  b 
)
inlineprivate

Member Data Documentation

float Loonim.LensBlurFilter.Angle = 0

The lens angle.

float Loonim.LensBlurFilter.Bloom = 2

The bloom factor.

float Loonim.LensBlurFilter.BloomThreshold = 192f / 255f

The threshold beyond which bloom occurs.

float Loonim.LensBlurFilter.Radius = 10

Set the radius of the kernel, and hence the amount of blur.

int Loonim.LensBlurFilter.Sides = 5

Set the number of sides (e.g. 6 for hexagon).