![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieSceneTimeWarpVariant.h>
Friends | |
| bool | operator== (const FMovieSceneTimeWarpVariant &A, const FMovieSceneTimeWarpVariant &B) |
| bool | operator!= (const FMovieSceneTimeWarpVariant &A, const FMovieSceneTimeWarpVariant &B) |
Numeric variant type that represents a 'time-warp' operation transforming a time into another time.
By default this variant is a literal value that represents a play rate of 1.0 (ie, a 1:1 mapping), but it can be customized to provide a wide range of different transformations such as looping, clamping and custom curves
|
inline |
Default construction: initializes this struct to a constant play rate of 1.0
|
inlineexplicit |
Initialize this time-warp with a specific constant play rate
|
inlineexplicit |
Initialize this time-warp with a specific fixed frame number
|
inlineexplicit |
Initialize this time-warp with a looping time-warp
|
inlineexplicit |
Initialize this time-warp with a time-warp that clamps the time to a specific range
|
inlineexplicit |
Initialize this time-warp with custom time-warp getter
|
inline |
Copy construction that performs a shallow copy
|
default |
Move-construction
|
inline |
| FMovieSceneTimeWarpClamp FMovieSceneTimeWarpVariant::AsClamp | ( | ) | const |
| FMovieSceneTimeWarpClampFloat FMovieSceneTimeWarpVariant::AsClampFloat | ( | ) | const |
| UMovieSceneTimeWarpGetter * FMovieSceneTimeWarpVariant::AsCustom | ( | ) | const |
| double FMovieSceneTimeWarpVariant::AsFixedPlayRate | ( | ) | const |
| float FMovieSceneTimeWarpVariant::AsFixedPlayRateFloat | ( | ) | const |
| FMovieSceneTimeWarpFixedFrame FMovieSceneTimeWarpVariant::AsFixedTime | ( | ) | const |
| FMovieSceneTimeWarpFrameRate FMovieSceneTimeWarpVariant::AsFrameRate | ( | ) | const |
| FMovieSceneTimeWarpLoop FMovieSceneTimeWarpVariant::AsLoop | ( | ) | const |
| FMovieSceneTimeWarpLoopFloat FMovieSceneTimeWarpVariant::AsLoopFloat | ( | ) | const |
|
inline |
Return a deep copy of this variant. If the contained type is a custom object, the object will be duplicated into the new outer, otherwise a bitwise copy is performed.
| bool FMovieSceneTimeWarpVariant::ExportTextItem | ( | FString & | ValueStr, |
| const FMovieSceneTimeWarpVariant & | DefaultValue, | ||
| UObject * | Parent, | ||
| int32 | PortFlags, | ||
| UObject * | ExportRootScope | ||
| ) | const |
|
inline |
Retrieve the type of this variant as an enumeration
| bool FMovieSceneTimeWarpVariant::ImportTextItem | ( | const TCHAR *& | Buffer, |
| int32 | PortFlags, | ||
| UObject * | Parent, | ||
| FOutputDevice * | ErrorText | ||
| ) |
|
inline |
If this variant wraps a UMovieSceneTimeWarpGetter, turn it into an unsafe weak reference.
|
inline |
Copy-assignment that performs a shallow copy
|
inline |
Assignment from a literal play rate
|
default |
Move-assignment
| FFrameTime FMovieSceneTimeWarpVariant::RemapTime | ( | FFrameTime | InTime | ) | const |
Remap the specified time using this time-warp
| InTime | The time to remap |
| bool FMovieSceneTimeWarpVariant::SerializeFromMismatchedTag | ( | const FPropertyTag & | Tag, |
| FStructuredArchive::FSlot | Slot | ||
| ) |
| void FMovieSceneTimeWarpVariant::Set | ( | const FMovieSceneTimeWarpClamp & | InValue | ) |
Make this time-warp clamp to the specified bounds
| void FMovieSceneTimeWarpVariant::Set | ( | const FMovieSceneTimeWarpClampFloat & | InValue | ) |
Make this time-warp clamp to the specified bounds
| void FMovieSceneTimeWarpVariant::Set | ( | const FMovieSceneTimeWarpFixedFrame & | InValue | ) |
Make this time-warp always return a fixed frame number
| void FMovieSceneTimeWarpVariant::Set | ( | const FMovieSceneTimeWarpFrameRate & | InValue | ) |
Make this time-warp transform from one frame rate to another
| void FMovieSceneTimeWarpVariant::Set | ( | const FMovieSceneTimeWarpLoop & | InValue | ) |
Make this time-warp loop within the specified bounds
| void FMovieSceneTimeWarpVariant::Set | ( | const FMovieSceneTimeWarpLoopFloat & | InValue | ) |
Make this time-warp loop within the specified bounds
Make this time-warp play at a constant play-rate
| void FMovieSceneTimeWarpVariant::Set | ( | UMovieSceneTimeWarpGetter * | InDynamicValue | ) |
Make this time-warp a custom dynamic value
|
inline |
Return a shallow copy of this variant via bit-wise copy. If the contained type is a custom object, the object ptr will be copied directly
|
friend |
Inequality-comparison
|
friend |
Equality-comparison