Navigation
API > API/Runtime > API/Runtime/MovieScene
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/MovieSceneClipboard.h |
| Include | #include "MovieSceneClipboard.h" |
Syntax
class FMovieSceneClipboardKey
Remarks
A key in the clipboard representing a time and a value of a specific type Client code must define MovieSceneClipboard::GetKeyTypeName<> in order to use a type with this class. In general, keys are stored relaative to the minumum key-time in the clipboard, or some arbitrary time. This cardinal time is stored with the clipboard environment.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMovieSceneClipboardKey
(
const FMovieSceneClipboardKey& In |
Copy construction/assignment | ||
FMovieSceneClipboardKey
(
FFrameNumber InTime, |
Templated constructor accepting a specific value type |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DefineConversion
(
TFunction< ToType(const FromType&)> InFunction |
Define a conversion from one type to another type | |
| FFrameNumber | GetTime () |
Get the time at which this key is defined | |
| T | GetValue () |
Get the value of this key as the specified type. | |
| void | SetTime
(
FFrameNumber InTime |
Set the time at which this key is defined | |
| bool | TryGetValue
(
T& Value |
Attempt to get the value of this key as the specified type. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FMovieSceneClipboardKey & | operator=
(
const FMovieSceneClipboardKey& In |
Typedefs
| Name | Description |
|---|---|
| FConversionFunction |
Constants
| Name | Description |
|---|---|
| ConversionMap | Static map of conversions between types |