1
SCA_2DFilterActuator(SCA_IActuator)
2
===================================
6
base class --- :class:`SCA_IActuator`
8
.. class:: SCA_2DFilterActuator(SCA_IActuator)
10
Create, enable and disable 2D filters
12
The following properties don't have an immediate effect.
13
You must active the actuator to get the result.
14
The actuator is not persistent: it automatically stops itself after setting up the filter
15
but the filter remains active. To stop a filter you must activate the actuator with 'type'
16
set to :data:`~bge.logic.RAS_2DFILTER_DISABLED` or :data:`~bge.logic.RAS_2DFILTER_NOFILTER`.
18
.. attribute:: shaderText
20
shader source code for custom shader.
24
.. attribute:: disableMotionBlur
26
action on motion blur: 0=enable, 1=disable.
32
Type of 2D filter, use one of :ref:`these constants <Two-D-FilterActuator-mode>`
36
.. attribute:: passNumber
38
order number of filter in the stack of 2D filters. Filters are executed in increasing order of passNb.
40
Only be one filter can be defined per passNb.
42
:type: integer (0-100)
46
argument for motion blur filter.
48
:type: float (0.0-100.0)