unreal.AnimDatabaseFramesLibrary¶
- class unreal.AnimDatabaseFramesLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibraryAnim Database Frames Library
C++ Source:
Plugin: AnimDatabase
Module: AnimDatabase
File: AnimDatabaseFrameRanges.h
- classmethod frames_after(database, frames, frames_after, shift_behavior=AnimDatabaseFrameShiftBehavior.REMOVE) AnimDatabaseFrames¶
Make a set of Frames at a given number of frames after another set of frames. Will use ShiftBehavior to decided if to clamp or discard frames that fall out of the valid sequence range.
- Parameters:
database (AnimDatabase)
frames (AnimDatabaseFrames)
frames_after (int32)
shift_behavior (AnimDatabaseFrameShiftBehavior)
- Return type:
- classmethod frames_before(database, frames, frames_before, shift_behavior=AnimDatabaseFrameShiftBehavior.REMOVE) AnimDatabaseFrames¶
Make a set of Frames at a given number of frames before another set of frames. Will use ShiftBehavior to decided if to clamp or discard frames that fall out of the valid sequence range.
- Parameters:
database (AnimDatabase)
frames (AnimDatabaseFrames)
frames_before (int32)
shift_behavior (AnimDatabaseFrameShiftBehavior)
- Return type:
- classmethod frames_difference(a, b) AnimDatabaseFrames¶
Computes the difference of two sets of Frames
- Parameters:
- Return type:
- classmethod frames_difference_from_array(frames) AnimDatabaseFrames¶
Computes the difference of an array of Frames objects
- Parameters:
frames (Array[AnimDatabaseFrames])
- Return type:
- classmethod frames_equal(a, b) bool¶
Checks if two sets of Frames are equal
- Parameters:
- Return type:
- classmethod frames_intersection(a, b) AnimDatabaseFrames¶
Computes the intersection of two sets of Frames
- Parameters:
- Return type:
- classmethod frames_intersection_from_array(frames) AnimDatabaseFrames¶
Computes the intersection of an array of Frames objects
- Parameters:
frames (Array[AnimDatabaseFrames])
- Return type:
- classmethod frames_is_empty(frames) bool¶
Check if the given set is empty
- Parameters:
frames (AnimDatabaseFrames)
- Return type:
- classmethod frames_none() AnimDatabaseFrames¶
Makes an empty set of frames. (This is the same as MakeEmptyFrames).
- Return type:
- classmethod frames_to_string(frames) str¶
Converts a Frames object to a string.
- Parameters:
frames (AnimDatabaseFrames)
- Return type:
- classmethod frames_to_string_format(database, frames, cutoff=11) str¶
Converts a Frames object to a string object in full.
- Parameters:
database (AnimDatabase)
frames (AnimDatabaseFrames)
cutoff (int32)
- Return type:
- classmethod frames_union(a, b) AnimDatabaseFrames¶
Computes the union of two sets of Frames
- Parameters:
- Return type:
- classmethod frames_union_from_array(frames) AnimDatabaseFrames¶
Computes the union of an array of Frames objects
- Parameters:
frames (Array[AnimDatabaseFrames])
- Return type:
- classmethod make_empty_frames() AnimDatabaseFrames¶
Make an empty set of Frames
- Return type:
- classmethod make_frames_from_anim_notifies_on_track(database, frame_ranges, track_name) AnimDatabaseFrames¶
Make a set of Frames from the times given by all the instances of AnimNotifies in the database that are on a track with the given name
- Parameters:
database (AnimDatabase)
frame_ranges (AnimDatabaseFrameRanges)
track_name (Name)
- Return type:
- classmethod make_frames_from_anim_notify(database, frame_ranges, notify) AnimDatabaseFrames¶
Make a set of Frames from the times given by all the instances of the given AnimNotify class in the database
- Parameters:
database (AnimDatabase)
frame_ranges (AnimDatabaseFrameRanges)
- Return type:
- classmethod make_frames_from_anim_notify_state_end(database, frame_ranges, state) AnimDatabaseFrames¶
Make a set of Frames from the end times of all the instances of the given UAnimNotifyState class in the database
- Parameters:
database (AnimDatabase)
frame_ranges (AnimDatabaseFrameRanges)
- Return type:
- classmethod make_frames_from_anim_notify_state_start(database, frame_ranges, state) AnimDatabaseFrames¶
Make a set of Frames from the start times of all the instances of the given UAnimNotifyState class in the database
- Parameters:
database (AnimDatabase)
frame_ranges (AnimDatabaseFrameRanges)
- Return type:
- classmethod make_frames_from_anim_notify_union(database, frame_ranges, notifies) AnimDatabaseFrames¶
Make a set of Frames from all of the given anim notifies
- Parameters:
database (AnimDatabase)
frame_ranges (AnimDatabaseFrameRanges)
- Return type:
- classmethod make_frames_from_class(database, frame_ranges, class_) AnimDatabaseFrames¶
Make a set of Frames using the given class
- Parameters:
database (AnimDatabase)
frame_ranges (AnimDatabaseFrameRanges)
- Return type:
- classmethod make_frames_from_function(database, frame_ranges, function) AnimDatabaseFrames¶
Make a set of Frames using the given function
- Parameters:
database (AnimDatabase)
frame_ranges (AnimDatabaseFrameRanges)
function (AnimDatabaseFramesFunction)
- Return type:
- classmethod make_frames_from_sequence_and_time(database, sequence_idx, time) AnimDatabaseFrames¶
Make a set of Frames consisting of a single frame from the given Sequence Index in the Database, at the given time
- Parameters:
database (AnimDatabase)
sequence_idx (int32)
time (float)
- Return type:
- classmethod make_frames_from_sync_marker(database, frame_ranges, sync_marker_name) AnimDatabaseFrames¶
Make a set of Frames from the times given by all the instances of the given SyncMarker in the database
- Parameters:
database (AnimDatabase)
frame_ranges (AnimDatabaseFrameRanges)
sync_marker_name (Name)
- Return type: