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

Class ActionStrip

source code

The ActionStrip object

This object gives access to a particular action strip.

Instance Methods [hide private]
None
resetActionLimits()
Activates the functionality found in NLA Strip menu under "Reset Action Start/End".
source code
None
resetStripSize()
Activates the functionality found in NLA Strip menu under "Reset Strip Size".
source code
None
snapToFrame()
Activates the functionality found in NLA Strip menu under "Snap to Frame".
source code
Instance Variables [hide private]
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 [hide private]

resetActionLimits()

source code 

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()

source code 

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()

source code 

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 [hide private]

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