Navigation
API > API/Runtime > API/Runtime/MovieScene
Templated class that initializes a unique ID for the templated type (normally an execution token) Care should be taken here not to expose the type in any way across a DLL boundary, as this will break the uniqueness of the identifier. If it's necessary to expose the ID across DLL boundaries, use the following pattern: MyAnimationToken.h:
struct FMyAnimationToken : IMovieSceneExecutionToken { static FMovieSceneAnimTypeID GetTypeID(); };
MyAnimationToken.cpp:
FMovieSceneAnimTypeID FMyAnimationToken::GetTypeID()
{
return TMovieSceneAnimTypeID
| Name | TMovieSceneAnimTypeID |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneAnimTypeID.h |
| Include Path | #include "Evaluation/MovieSceneAnimTypeID.h" |
Syntax
template<typename T, uint8 Seed>
struct TMovieSceneAnimTypeID : public FMovieSceneAnimTypeID
Inheritance Hierarchy
- FMovieSceneAnimTypeID → TMovieSceneAnimTypeID
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TMovieSceneAnimTypeID() |
Evaluation/MovieSceneAnimTypeID.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CachedID | uint64 | Evaluation/MovieSceneAnimTypeID.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| T | friend | Only T should construct this (to ensure safe construction over DLL boundaries) | Evaluation/MovieSceneAnimTypeID.h |