Module NLA :: Class ActionStrip
[frames] | no frames]

Class ActionStrip

The ActionStrip object

This object gives access to a particular action strip.

Instance Methods
None
resetActionLimits()
Activates the functionality found in NLA Strip menu under "Reset Action Start/End".
None
resetStripSize()
Activates the functionality found in NLA Strip menu under "Reset Strip Size".
None
snapToFrame()
Activates the functionality found in NLA Strip menu under "Snap to Frame".
Instance Variables
BPy Action object action
Action associated with the strip.
float actionEnd
Ending frame of the action.
float actionStart
Starting frame of the action.
float blendIn
Number of frames of motion blending.
float blendOut
Number of frames of ease-out.
int flag
Controls various ActionStrip attributes.
object groupTarget
Armature object within DupliGroup for local animation
int mode
Controls the ActionStrip mode.
float repeat
The number of times to repeat the action range.
int strideAxis
Dominant axis for stride bone.
string strideBone
Name of Bone used for stride
float strideLength
Distance covered by one complete cycle of the action specified in the Action Range.
float stripEnd
Ending frame of the strip.
float stripStart
Starting frame of the strip.
Method Details

resetActionLimits()

 

Activates the functionality found in NLA Strip menu under "Reset Action Start/End". This method restores the values of ActionStart and ActionEnd to their defaults, usually the first and last frames within an action that contain keys.

Returns: None

resetStripSize()

 

Activates the functionality found in NLA Strip menu under "Reset Strip Size". This method resets the action strip size to its creation values.

Returns: None

snapToFrame()

 

Activates the functionality found in NLA Strip menu under "Snap to Frame". This function snaps the ends of the action strip to the nearest whole numbered frame.

Returns: None

Instance Variable Details

flag

Controls various ActionStrip attributes. Values can be ORed. See Flags for valid values.
Type:
int

mode

Controls the ActionStrip mode. See Modes for valid values.
Type:
int

strideAxis

Dominant axis for stride bone. See StrideAxes for valid values.
Type:
int