Navigation
API > API/Runtime > API/Runtime/MovieScene
Scoped structure that can be used to wrap a call to SavePreAnimatedState to associate the capture with a specific capture source.
| Name | FScopedPreAnimatedCaptureSource |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h |
| Include Path | #include "Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h" |
Syntax
struct FScopedPreAnimatedCaptureSource
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | |||
| Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | |||
FScopedPreAnimatedCaptureSource
(
UMovieSceneEntitySystemLinker* InLinker, |
Construct this capture source from a track instance input (UMovieSceneTrackInstance + FMovieSceneTrackInstanceInput) and whether this should restore state when the template is finished | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | |
FScopedPreAnimatedCaptureSource
(
TSharedRef< const FSharedPlaybackState > SharedPlaybackState, |
Construct this capture source from a template (FMovieSceneEvalTemplate) evaluation key, and whether this should restore state when the template is finished | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | |
FScopedPreAnimatedCaptureSource
(
FMovieScenePreAnimatedState* InPreAnimatedState, |
Construct this capture source from a template (FMovieSceneEvalTemplate) evaluation key, and whether this should restore state when the template is finished | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | |
FScopedPreAnimatedCaptureSource
(
UMovieSceneEntitySystemLinker* InLinker, |
Construct this capture source from a track instance (UMovieSceneTrackInstance) and whether this should restore state when the template is finished | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | |
FScopedPreAnimatedCaptureSource
(
TSharedRef< const FSharedPlaybackState > SharedPlaybackState, |
Construct this capture source from an evaluation hook (UMovieSceneEvaluationHookSection), its instance handle, and whether this should restore state when the template is finished | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | |
FScopedPreAnimatedCaptureSource
(
FMovieScenePreAnimatedState* InPreAnimatedState, |
Construct this capture source from an evaluation hook (UMovieSceneEvaluationHookSection), its instance handle, and whether this should restore state when the template is finished | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedPreAnimatedCaptureSource() |
Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CaptureSourceType | TVariant< FPreAnimatedEvaluationKeyType, FPreAnimatedEvalHookKeyType, UMovieSceneTrackInstance *, FMovieSceneTrackInstanceInput > | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | |
| FPreAnimatedEvalHookKeyType | UE::MovieScene::FPreAnimatedEvalHookKeyType | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | |
| FPreAnimatedEvaluationKeyType | UE::MovieScene::FPreAnimatedEvaluationKeyType | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | |
| FRootInstanceHandle | UE::MovieScene::FRootInstanceHandle | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | |
| FSharedPlaybackState | UE::MovieScene::FSharedPlaybackState | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bWantsRestoreState | bool | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | ||
| PrevCaptureSource | FScopedPreAnimatedCaptureSource * | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | ||
| RootInstanceHandle | FRootInstanceHandle | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | ||
| Variant | CaptureSourceType | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | ||
| WeakLinker | TWeakObjectPtr< UMovieSceneEntitySystemLinker > | Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool WantsRestoreState() |
Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FScopedPreAnimatedCaptureSource *& GetCaptureSourcePtr() |
Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void operator=
(
const FScopedPreAnimatedCaptureSource& |
Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h | ||
void operator=
(
FScopedPreAnimatedCaptureSource&& |
Evaluation/PreAnimatedState/MovieScenePreAnimatedCaptureSource.h |