SCA_2DFilterActuator(SCA_IActuator)
base class — SCA_IActuator
- class bge.types.SCA_2DFilterActuator
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
orRAS_2DFILTER_NOFILTER
.- shaderText
shader source code for custom shader.
- Type:
string
- disableMotionBlur
Deprecated since version 0.3.0: 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
Deprecated since version 0.3.0: argument for motion blur filter.
- type:
float (0.0-100.0)