Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/Evaluation > API/Runtime/MovieScene/Evaluation/FMovieSceneInverseSequenceTransf- > API/Runtime/MovieScene/Evaluation/FMovieSceneInverseSequenceTransf-/TryTransformTime
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneSequenceTransform.h |
| Include | #include "Evaluation/MovieSceneSequenceTransform.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/Evaluation/MovieSceneSequenceTransform.cpp |
TOptional < FFrameTime > TryTransformTime
(
FFrameTime Time,
const UE::MovieScene::FInverseTransformTimeParams & Params
) const
Remarks
Fallback overload that does not require a breadcrumb trail if one is not available.
Attempt to transform the specified transformed time into its untransformed space. This function can fail if the time does not map to any other times in the untransformed space.
This overload may yield unexpected times due to the lack of breadcrumb context. Breadcrumbs should be used if possible. The time in untransformed space if succesful, or an empty optional otherwise.
Parameters
| Name | Description |
|---|---|
| Time | The transformed time to convert to untransformed space |
| Params | Additional parameters that control the algotihm, such as whether it can look forwards, backwards, or across cycles/loops. |