value
value
gets/sets
the motion blur value
Type: float
Range: 0.00 - 100.00
Sample
Code
################ Get value
# get controller
controller = GameLogic.getCurrentController()
# get actuator attached to the controller named act
act = controller.actuators["act"]
# get amount of motion blur
blurAmount = act.value
################ Set value
# get controller
controller = GameLogic.getCurrentController()
# get actuator attached to the controller named act
act = controller.actuators["act"]
# Set value
act.value = 10.0
|