ShadowFilter(float angle = SF_DEGTORAD(45.0f), float dist = 4.0f, float blurx = 4.0f, float blury = 4.0f, unsigned passes = 1); ShadowFilter(const BlurFilterParams& params, float angle, float dist);
ShadowFilter constructor.
Parameters |
Description |
float angle = SF_DEGTORAD(45.0f) |
Angle in radians for shadow offset. |
float dist = 4.0f |
The distance of the shadow. |
float blurx = 4.0f |
The amount of horizontal blur. |
float blury = 4.0f |
The amount of vertical blur. |
unsigned passes = 1 |
The number of times to perform the blur. |
const BlurFilterParams& params |
The filter parameters. |