Navigation
API > API/Runtime > API/Runtime/MovieScene
Typed external value that can be used to define how to access the current value on an object for any given channel of data. Typically defined as the extended editor data for many channel types through TMovieSceneChannelTraits::ExtendedEditorDataType.
| Name | TMovieSceneExternalValue |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Channels/MovieSceneChannelEditorData.h |
| Include Path | #include "Channels/MovieSceneChannelEditorData.h" |
Syntax
template<typename T>
struct TMovieSceneExternalValue
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TMovieSceneExternalValue() |
Defaults to an undefined function (no external value) | Channels/MovieSceneChannelEditorData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnGetCurrentValueAndWeight | TFunction< void(UObject *, UMovieSceneSection *, FFrameNumber, FFrameRate, FMovieSceneRootEvaluationTemplateInstance &, T &, float &) > | Optional Function To Get Current Value and Weight, needed for setting keys on blended sections | Channels/MovieSceneChannelEditorData.h | |
| OnGetExternalValue | TFunction< TOptional< T >(UObject &, FTrackInstancePropertyBindings *)> | Function to invoke to get the current value of the property of an object | Channels/MovieSceneChannelEditorData.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TOptional< T > GetValue
(
UObject& InObject, |
Static definition that retrieves the current value of InObject as a T | Channels/MovieSceneChannelEditorData.h | |
static TMovieSceneExternalValue< T > Make () |
Helper constructor that defines an external value as the same type as the template type. | Channels/MovieSceneChannelEditorData.h |