blendIn
blendIn
gets/sets the
number of frames to be used when blending this action with
another.
Type: float
Sample
Code
################ Get blendIn
# get the controller
controller = GameLogic.getCurrentController()
# get the
actuator attached to controller named Walk
act = controller.actuators["Walk"]
# get
number of frames used for the blendIn
frames = act.blendIn
################ Set blendIn
# get the controller
controller = GameLogic.getCurrentController()
# get the
actuator attached to controller named Walk
act = controller.actuators["Walk"]
# set blendIn frames
act.blendIn = 5.0
|