AnimData(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.AnimData(bpy_struct)¶ Animation data for data-block
-
action_blend_type¶ Method used for combining Active Action’s result with result of NLA stack
REPLACEReplace, The strip values replace the accumulated results by amount specified by influence.COMBINECombine, The strip values are combined with accumulated results by appropriately using addition, multiplication, or quaternion math, based on channel type.ADDAdd, Weighted result of strip is added to the accumulated results.SUBTRACTSubtract, Weighted result of strip is removed from the accumulated results.MULTIPLYMultiply, Weighted result of strip is multiplied with the accumulated results.
Type: enum in [‘REPLACE’, ‘COMBINE’, ‘ADD’, ‘SUBTRACT’, ‘MULTIPLY’], default ‘REPLACE’
-
action_extrapolation¶ Action to take for gaps past the Active Action’s range (when evaluating with NLA)
NOTHINGNothing, Strip has no influence past its extents.HOLDHold, Hold the first frame if no previous strips in track, and always hold last frame.HOLD_FORWARDHold Forward, Only hold last frame.
Type: enum in [‘NOTHING’, ‘HOLD’, ‘HOLD_FORWARD’], default ‘HOLD’
-
action_influence¶ Amount the Active Action contributes to the result of the NLA stack
Type: float in [0, 1], default 1.0
-
drivers¶ The Drivers/Expressions for this data-block
Type: AnimDataDriversbpy_prop_collectionofFCurve, (readonly)
-
nla_tracks¶ NLA Tracks (i.e. Animation Layers)
Type: NlaTracksbpy_prop_collectionofNlaTrack, (readonly)
-
use_nla¶ NLA stack is evaluated when evaluating this block
Type: boolean, default False
-
use_tweak_mode¶ Whether to enable or disable tweak mode in NLA
Type: boolean, default False
-
nla_tweak_strip_time_to_scene(frame, invert=False)¶ Convert a time value from the local time of the tweaked strip to scene time, exactly as done by built-in key editing tools. Returns the input time unchanged if not tweaking.
Parameters: - frame (float in [-1.04857e+06, 1.04857e+06]) – Input time
- invert (boolean, (optional)) – Invert, Convert scene time to action time
Returns: Converted time
Return type: float in [-1.04857e+06, 1.04857e+06]
-
classmethod
bl_rna_get_subclass(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The RNA type or default when not found. Return type: bpy.types.Structsubclass
-
classmethod
bl_rna_get_subclass_py(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The class or default when not found. Return type: type
-
Inherited Properties
Inherited Functions
References