BBMOD_RadialBlurEffect

A constructor defined in BBMOD_RadialBlurEffect.gml

Extends BBMOD_PostProcessEffect

new BBMOD_RadialBlurEffect([_origin[, _radius[, _strength[, _step]]]])

Description

Radial blur (post-processing effect).

Arguments

Name Type Description
_origin Struct.BBMOD_Vec2 The origin of the blur. Defaults to (0.5, 0.5) if undefined.
_radius Real The radius of area that is in focus. Use values in range 0..1. Defaults to 0.5.
_strength Real The strength of the blur. Use values greater or equal to 0. Defaults to 1.
_step Real Step size. Use values in range (0; 1]. Defaults to 1/8.

Properties

Name Description
Origin The origin of the blur. Default value is (0.5, 0.5) (the middle of the screen).
Radius The radius of area that is in focus. Use values in range 0..1. Default value is 0.5.
Step Step size. Use values in range (0; 1]. Default value is 1/8.
Strength The strength of the blur. Use values greater or equal to 0. Default value is 1.

Inherited properties

Name Description
Enabled If true then the effect is enabled. Default value is true.
PostProcessor The post-processor to which is this effect added or undefined.

Inherited methods

Name Description
destroy Frees memory used by the struct.
draw Applies the effect to given surface.
Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on July 03, 2024 using GMDoc.