ShapeAction Actuators apply an shape action to an mesh object.
bool
|
|
|
setAction(action,
reset=True)
Sets the current action. |
|
|
|
setStart(start)
Specifies the starting frame of the animation. |
|
|
|
setEnd(end)
Specifies the ending frame of the animation. |
|
|
|
setBlendin(blendin)
Specifies the number of frames of animation to generate when making
transitions between actions. |
|
|
|
setPriority(priority)
Sets the priority of this actuator. |
|
|
|
setFrame(frame)
Sets the current frame for the animation. |
|
|
|
setProperty(prop)
Sets the property to be used in FromProp playback mode. |
|
|
|
|
|
setType(mode)
Sets the operation mode of the actuator |
|
|
integer
|
getType()
Returns the operation mode of the actuator |
|
|
string
|
getAction()
getAction() returns the name of the action associated with this
actuator. |
|
|
float
|
getStart()
Returns the starting frame of the action. |
|
|
float
|
getEnd()
Returns the last frame of the action. |
|
|
float
|
getBlendin()
Returns the number of interpolation animation frames to be generated
when this actuator is triggered. |
|
|
integer
|
|
float
|
getFrame()
Returns the current frame number. |
|
|
string
|
getProperty()
Returns the name of the property to be used in FromProp mode. |
|
|
|
|
string
|
getFrameProperty()
Returns the name of the property that is set to the current frame
number. |
|
|
integer
|
|
string
|
|
KX_GameObject
|
|
|
|
string
|
action
The name of the action to set as the current shape action.
|
float
|
blendIn
Specifies the number of frames of animation to generate when making
transitions between actions.
|
float
|
blendTime
Sets the internal frame timer.
|
int
|
executePriority
This determines the order controllers are evaluated, and actuators
are activated (lower priority is executed first).
(Inherited from GameTypes.SCA_ILogicBrick)
|
float
|
frame
Sets the current frame for the animation.
|
float
|
frameEnd
Specifies the ending frame of the shape animation.
|
string
|
framePropName
The name of the property that is set to the current frame number.
|
float
|
frameStart
Specifies the starting frame of the shape animation.
|
bool
|
invalid
Test if the object has been freed by the game engine and is no longer
valid.
(Inherited from GameTypes.PyObjectPlus)
|
integer
|
mode
The operation mode of the actuator.
|
string
|
name
The name of this CValue derived object (read-only).
(Inherited from GameTypes.SCA_ILogicBrick)
|
KX_GameObject or None in exceptional cases.
|
owner
The game object this logic brick is attached to (read-only).
(Inherited from GameTypes.SCA_ILogicBrick)
|
integer
|
priority
Sets the priority of this actuator.
|
string
|
propName
Sets the property to be used in FromProp playback mode.
|