Navigation
API > API/Runtime > API/Runtime/MovieScene
Base class for all track instances. Can also be used for root tracks where AnimatedObject will be nullptr
| Name | UMovieSceneTrackInstance |
| Type | class |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/TrackInstance/MovieSceneTrackInstance.h |
| Include Path | #include "EntitySystem/TrackInstance/MovieSceneTrackInstance.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UMovieSceneTrackInstance : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMovieSceneTrackInstance
Derived Classes
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsRootTrackInstance | bool | EntitySystem/TrackInstance/MovieSceneTrackInstance.h | ||
| Inputs | TArray< FMovieSceneTrackInstanceInput > | EntitySystem/TrackInstance/MovieSceneTrackInstance.h | ||
| PrivateLinker | TObjectPtr< UMovieSceneEntitySystemLinker > | EntitySystem/TrackInstance/MovieSceneTrackInstance.h | ||
| WeakAnimatedObject | TWeakObjectPtr< UObject > | EntitySystem/TrackInstance/MovieSceneTrackInstance.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Animate() |
Run this animator for the current frame | EntitySystem/TrackInstance/MovieSceneTrackInstance.h | |
void Destroy() |
Destroy this animator. The animator may still have inputs when it is destroyed. | EntitySystem/TrackInstance/MovieSceneTrackInstance.h | |
UObject * GetAnimatedObject() |
Retrieve the object that is being animated (may be nullptr for root tracks) | EntitySystem/TrackInstance/MovieSceneTrackInstance.h | |
TArrayView< const FMovieSceneTrackInstanceInput > GetInputs() |
Retrieve this animator's inputs | EntitySystem/TrackInstance/MovieSceneTrackInstance.h | |
UMovieSceneEntitySystemLinker * GetLinker() |
Retrieve the linker that owns this animator | EntitySystem/TrackInstance/MovieSceneTrackInstance.h | |
virtual UWorld * GetWorld() |
EntitySystem/TrackInstance/MovieSceneTrackInstance.h | ||
virtual bool ImplementsGetWorld() |
EntitySystem/TrackInstance/MovieSceneTrackInstance.h | ||
void Initialize
(
UObject* InAnimatedObject, |
Initialize this instance with the object to animate, and a linker | EntitySystem/TrackInstance/MovieSceneTrackInstance.h | |
void UpdateInputs
(
TArray< FMovieSceneTrackInstanceInput >&& InNewInputs |
Update the inputs that contribute to this animator | EntitySystem/TrackInstance/MovieSceneTrackInstance.h |