unreal.AnimationSequencerDataModel
¶
- class unreal.AnimationSequencerDataModel(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
MovieSceneSequence
Animation Sequencer Data Model
C++ Source:
Plugin: AnimationData
Module: AnimationData
File: AnimSequencerDataModel.h
Editor Properties: (see get_editor_property/set_editor_property)
animated_bone_attributes
(Array[AnimatedBoneAttribute]): [Read-Only]cached_raw_data_guid
(Guid): [Read-Only] Raw data GUID taken from UAnimSequence when initially populating - this allows for retaining compressed data state initiallycurve_identifier_to_meta_data
(Map[AnimationCurveIdentifier, AnimationCurveMetaData]): [Read-Only] Per-curve information holding flags/color, due to be deprecated in the futurelegacy_curve_data
(AnimationCurveData): [Read-Only]modified_event
(AnimDataModelModifiedDynamicEvent): [Read-Write] Dynamic delegate event allows scripting to register to any broadcast-ed notify.movie_scene
(MovieScene): [Read-Only] Movie scene instance containing FK Control rig and section representing the animation datapopulated
(bool): [Read-Only]
- get_animation_sequence() AnimSequence ¶
- Returns:
The outer UAnimSequence object if found, otherwise returns a nullptr
- Return type:
- get_bone_animation_tracks() Array[BoneAnimationTrack] ¶
Get Bone Animation Tracks
- Return type:
- get_bone_track_by_index(track_index) BoneAnimationTrack ¶
Get Bone Track by Index
- Parameters:
track_index (int32) –
- Return type:
- get_bone_track_by_name(track_name) BoneAnimationTrack ¶
Get Bone Track by Name
- Parameters:
track_name (Name) –
- Return type:
- get_bone_track_index(track) int32 ¶
Get Bone Track Index
- Parameters:
track (BoneAnimationTrack) –
- Return type:
int32
- get_bone_track_index_by_name(track_name) int32 ¶
Get Bone Track Index by Name
- Parameters:
track_name (Name) –
- Return type:
int32
- get_bone_track_names() Array[Name] ¶
Populates the provided array with all contained (bone) track names
- get_num_bone_tracks() int32 ¶
- Returns:
Total number of bone animation tracks
- Return type:
int32
- get_number_of_float_curves() int32 ¶
- Returns:
Total number of stored float curves
- Return type:
int32
- get_number_of_frames() int32 ¶
- Returns:
Total number of frames of animation data stored
- Return type:
int32
- get_number_of_keys() int32 ¶
- Returns:
Total number of animation data keys stored
- Return type:
int32
- get_number_of_transform_curves() int32 ¶
- Returns:
Total number of stored FTransform curves
- Return type:
int32
- get_play_length() double ¶
- Returns:
Total length of play-able animation data
- Return type:
double
- is_valid_bone_track_index(track_index) bool ¶
Is Valid Bone Track Index
- Parameters:
track_index (int32) –
- Return type:
- property modified_event: AnimDataModelModifiedDynamicEvent¶
[Read-Write] Dynamic delegate event allows scripting to register to any broadcast-ed notify.