unreal.MovieSceneTimeWarpExtensions¶
- class unreal.MovieSceneTimeWarpExtensions(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibraryFunction library containing methods that relate to time-warp within Sequencer
C++ Source:
Plugin: SequencerScripting
Module: SequencerScripting
File: MovieSceneTimeWarpExtensions.h
- classmethod break_time_warp(time_warp) double¶
Break Time Warp
- Parameters:
time_warp (MovieSceneTimeWarpVariant)
- Returns:
fixed_play_rate (double):
- Return type:
double
- classmethod conv_play_rate_to_time_warp_variant(constant_play_rate) MovieSceneTimeWarpVariant¶
Converts a constant playrate to a timewarp variant
- Parameters:
constant_play_rate (double)
- Return type:
- classmethod conv_time_warp_variant_to_play_rate(time_warp) double¶
Converts a timewarp variant struct to a constant play rate
- Parameters:
time_warp (MovieSceneTimeWarpVariant)
- Return type:
double
- classmethod make_time_warp(fixed_play_rate) MovieSceneTimeWarpVariant¶
Make Time Warp
- Parameters:
fixed_play_rate (double)
- Return type:
- classmethod set_fixed_play_rate(time_warp, fixed_play_rate) MovieSceneTimeWarpVariant¶
Assign a constant playrate to this timewarp, overwriting any existing timewarp implementation.
- Parameters:
time_warp (MovieSceneTimeWarpVariant)
fixed_play_rate (double)
- Returns:
time_warp (MovieSceneTimeWarpVariant):
- Return type:
- classmethod to_fixed_play_rate(time_warp) double¶
Retrieve this timewarp’s constant play rate. Will throw an error if the timewarp is not a constant play rate.
- Parameters:
time_warp (MovieSceneTimeWarpVariant)
- Return type:
double