Navigation
API > API/Runtime > API/Runtime/MovieScene
Templated version of FMovieSceneEvaluationTree that is also able to associate arbitrary data with nodes
| Name | TMovieSceneEvaluationTree |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneEvaluationTree.h |
| Include Path | #include "Evaluation/MovieSceneEvaluationTree.h" |
Syntax
template<typename DataType>
struct TMovieSceneEvaluationTree : public FMovieSceneEvaluationTree
Inheritance Hierarchy
- FMovieSceneEvaluationTree → TMovieSceneEvaluationTree
Structs
| Name | Remarks |
|---|---|
| FAddOperator | Operator that adds data to nodes |
| FAddUniqueOperator | Operator that adds data to nodes provided it doesn't already exist on the node |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | TEvaluationTreeEntryContainer< DataType > | Tree data container that corresponds to FMovieSceneEvaluationTreeNode::DataID | Evaluation/MovieSceneEvaluationTree.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
TRange< FFrameNumber > InTimeRange |
Add a time range with no data associated | Evaluation/MovieSceneEvaluationTree.h | |
void Add
(
TRange< FFrameNumber > InTimeRange, |
Add a new time range with the associated data to the tree. | Evaluation/MovieSceneEvaluationTree.h | |
void AddIfEmpty
(
TRange< FFrameNumber > InTimeRange, |
Adds a new time range with the associated data to the tree, only for segments where there's no data yet. | Evaluation/MovieSceneEvaluationTree.h | |
void AddIfEmptySelective
(
TRange< FFrameNumber > InTimeRange, |
Adds a new time range with the associated data to the tree, only for segments where there's no data yet. | Evaluation/MovieSceneEvaluationTree.h | |
void AddSelective
(
TRange< FFrameNumber > InTimeRange, |
Add a new time range with the associated data to the tree. | Evaluation/MovieSceneEvaluationTree.h | |
void AddUnique
(
TRange< FFrameNumber > InTimeRange, |
Add a new time range with the associated data to the tree. Ensures no duplicates. | Evaluation/MovieSceneEvaluationTree.h | |
void Compact() |
Compact the memory used by this tree so it's using as little as possible | Evaluation/MovieSceneEvaluationTree.h | |
TMovieSceneEvaluationTreeDataIterator< DataType > GetAllData
(
FMovieSceneEvaluationTreeNodeHandle NodeHandle |
Create an iterator that will iterate all data associated with the specified node | Evaluation/MovieSceneEvaluationTree.h | |
TArrayView< const DataType > GetDataForSingleNode
(
const FMovieSceneEvaluationTreeNode& InNode |
Access the data associated with a single node in the tree. | Evaluation/MovieSceneEvaluationTree.h | |
TArrayView< DataType > GetMutableDataForSingleNode
(
const FMovieSceneEvaluationTreeNode& InNode |
Access the data associated with a single node in the tree. | Evaluation/MovieSceneEvaluationTree.h | |
bool IsEmpty() |
Check whether this tree is empty | Evaluation/MovieSceneEvaluationTree.h | |
void Reset() |
Reset this tree | Evaluation/MovieSceneEvaluationTree.h |