Property | Type | Description | |
---|---|---|---|
computeGaussian | float |
Method | Description | |
---|---|---|
GaussianBlurEffect ( ) : System | ||
calculateSampleWeights ( ) : void |
calculates the sample weights and passes them along to the shader
|
|
prepareForHorizontalBlur ( ) : void |
prepares the Effect for performing a horizontal blur
|
|
prepareForVerticalBlur ( ) : void |
prepares the Effect for performing a vertical blur
|
|
setBlurEffectParameters ( float dx, float dy, Vector2 offsets ) : void |
computes sample weightings and texture coordinate offsets for one pass of a separable gaussian blur filter.
|
Method | Description | |
---|---|---|
computeGaussian ( float n ) : float |
Evaluates a single point on the gaussian falloff curve. Used for setting up the blur filter weightings.
|
public setBlurEffectParameters ( float dx, float dy, Vector2 offsets ) : void | ||
dx | float | |
dy | float | |
offsets | Vector2 | |
return | void |