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