Navigation
API > API/Runtime > API/Runtime/MovieScene
Inheritance Hierarchy
- IObjectBindingNotifyPlaybackCapability
- IStaticBindingOverridesPlaybackCapability
- IMovieScenePlayer
- ISequencer
- UMovieSceneSequencePlayer
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/IMovieScenePlayer.h |
| Include | #include "IMovieScenePlayer.h" |
Syntax
class IMovieScenePlayer :
public UE::MovieScene::IObjectBindingNotifyPlaybackCapability ,
public UE::MovieScene::IStaticBindingOverridesPlaybackCapability
Remarks
Interface for movie scene players Provides information for playback of a movie scene
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FMovieSceneEvaluationOperand, FMovieSceneEvaluationOperand > | BindingOverrides | List of binding overrides to use for the sequence | |
| FMovieScenePreAnimatedState | PreAnimatedState | Container that stores any per-animated state tokens | |
| FMovieSceneEvaluationState | State | Evaluation state that stores global state to do with the playback operation |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UObject * | AsUObject () |
Cast this player instance as a UObject if possible | |
| bool | |||
| UMovieSceneEntitySystemLinker * | Called to retrieve or construct an entity linker for the specified playback context | ||
| FGuid | CreateBinding
(
UMovieSceneSequence* InSequence, |
Attempts to create a binding for the given object in the given sequence. | |
| void | Discard all pre-animated state without restoring it | ||
| TArrayView< TWeakObjectPtr<> > | FindBoundObjects
(
const FGuid& ObjectBindingID, |
Locate objects bound to the specified object guid, in the specified sequence | |
| TArrayView< TWeakObjectPtr<> > | FindBoundObjects
(
const FMovieSceneEvaluationOperand& Operand |
Locate objects bound to the specified sequence operand | |
| FGuid | FindCachedObjectId
(
UObject& InObject, |
Attempt to find the object binding ID for the specified object, in the specified sequence | |
| FGuid | FindObjectId
(
UObject& InObject, |
Attempt to find the object binding ID for the specified object, in the specified sequence | |
| TSharedPtr< const UE::MovieScene::FSharedPlaybackState > | |||
| TSharedPtr< UE::MovieScene::FSharedPlaybackState > | Returns the evaluated sequence instance's shared playback state, if any. | ||
| void | Get
(
TArray< IMovieScenePlayer* >& OutPlayers, |
||
| IMovieScenePlayer * | Get
(
uint16 InUniqueIndex |
||
| FMovieSceneRootEvaluationTemplateInstance & | Access the evaluation template that we are playing back | ||
| TArray< UObject * > | Access the event contexts for this movie scene player | ||
| TScriptInterface< IMovieSceneSequencePlayerObserver > | GetObserver () |
Used to access the Observer in MovieSceneSequencePlayer | |
| UObject * | GetOrCreateDirectorInstance
(
TSharedRef< const UE::MovieScene::FSharedPlaybackState > SharedPlaybackState, |
Gets a new or existing director blueprint instance for the given root or sub sequence | |
| IMovieScenePlaybackClient * | Access the client in charge of playback | ||
| const IMovieScenePlaybackClient * | |||
| UObject * | Access the playback context for this movie scene player | ||
| EMovieScenePlayerStatus::Type | |||
| TSharedRef< UE::MovieScene::FSharedPlaybackState > | Returns the evaluated sequence instance's shared playback state, asserts if there is none. | ||
| TSharedRef< const UE::MovieScene::FSharedPlaybackState > | |||
| FMovieSceneSpawnRegister & | Obtain an object responsible for managing movie scene spawnables | ||
| uint16 | |||
| void | GetViewportSettings
(
TMap< FViewportClient*, EMovieSceneViewportParams >& ViewportParamsMap |
Get the current perspective viewport settings | |
| bool | Whether this player utilizes dynamic weighting | ||
| void | InitializeRootInstance
(
TSharedRef< UE::MovieScene::FSharedPlaybackState > NewSharedPlaybackState |
Initializes a new root sequence instance and its shared playback state. | |
| void | Invalidate any cached state contained within this player causing all entities to be forcibly re-linked and evaluated | ||
| bool | IsDisablingEventTriggers
(
FFrameTime& DisabledUntilTime |
Returns whether event triggers are disabled and if so, until what time. | |
| bool | IsEvaluating () |
||
| bool | IsPreview () |
Test whether this is a preview player or not. | |
| void | OnObjectSpawned
(
UObject* InObject, |
Called when an object is spawned by sequencer | |
| void | Called to initialize the flag structure that denotes what functions need to be called on this updater | ||
| void | PostEvaluation
(
const FMovieSceneContext& Context |
Called by the evaluation system after evaluation has occured | |
| void | PreEvaluation
(
const FMovieSceneContext& Context |
Called by the evaluation system when evaluation has just started. | |
| void | Remove all director blueprint instances | ||
| void | ResolveBoundObjects
(
const FGuid& InBindingId, |
Resolve objects bound to the specified binding ID | |
| void | ResolveBoundObjects
(
UE::UniversalObjectLocator::FResolveParams& ResolveParams, |
Resolve objects bound to the specified binding ID | |
| void | Restore all pre-animated state | ||
| void | SavePreAnimatedState
(
UObject& InObject, |
Attempt to save specific state for the specified token state before it animates an object. | |
| void | SavePreAnimatedState
(
FMovieSceneAnimTypeID InTokenType, |
Attempt to save specific state for the specified token state before it mutates state. | |
| void | SetIsEvaluatingFlag
(
uint16 InUniqueIndex, |
||
| void | SetPlaybackStatus
(
EMovieScenePlayerStatus::Type InPlaybackStatus |
||
| void | SetViewportSettings
(
const TMap< FViewportClient*, EMovieSceneViewportParams >& ViewportParamsMap |
Set the perspective viewport settings | |
| void | UpdateCameraCut
(
UObject* CameraObject, |
||
| void | UpdateCameraCut
(
UObject* CameraObject, |
Overridden from IObjectBindingNotifyPlaybackCapability
| Type | Name | Description | |
|---|---|---|---|
| void | Called whenever any object bindings have changed | ||
| void | NotifyBindingUpdate
(
const FGuid& InGuid, |
Called whenever an object binding has been resolved to give the player a chance to interact with the objects before they are animated |
Overridden from IStaticBindingOverridesPlaybackCapability
| Type | Name | Description | |
|---|---|---|---|
| void | AddBindingOverride
(
const FMovieSceneEvaluationOperand& InOperand, |
Adds an override for the given operand | |
| FMovieSceneEvaluationOperand * | GetBindingOverride
(
const FMovieSceneEvaluationOperand& InOperand |
Retrieves any override for the given operand | |
| void | RemoveBindingOverride
(
const FMovieSceneEvaluationOperand& InOperand |
Removes any override set for the given operand |