SCA_2DFilterActuator(SCA_IActuator)

base class — SCA_IActuator

class SCA_2DFilterActuator(SCA_IActuator)

Create, enable and disable 2D filters.

The following properties don’t have an immediate effect. You must active the actuator to get the result. The actuator is not persistent: it automatically stops itself after setting up the filter but the filter remains active. To stop a filter you must activate the actuator with ‘type’ set to RAS_2DFILTER_DISABLED or RAS_2DFILTER_NOFILTER.

shaderText

shader source code for custom shader.

Type

string

disableMotionBlur

action on motion blur: 0=enable, 1=disable.

Type

integer

mode

Type of 2D filter, use one of these constants.

Type

integer

passNumber

order number of filter in the stack of 2D filters. Filters are executed in increasing order of passNb.

Only be one filter can be defined per passNb.

Type

integer (0-100)

value

argument for motion blur filter.

Type

float (0.0-100.0)