unreal.AnimationDataModel
¶
- class unreal.AnimationDataModel(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
Interface
Animation Data Model
C++ Source:
Module: Engine
File: IAnimationDataModel.h
- 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