TMovieSceneEvaluationTree

Templated version of [FMovieSceneEvaluationTree](API\Runtime\MovieScene\Evaluation\FMovieSceneEvaluationTree) that is also able to associate arbitrary data with nodes

Windows
MacOS
Linux

Inheritance Hierarchy

FMovieSceneEvaluationTree

TMovieSceneEvaluationTree

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneEvaluationTree.h

Include

#include "Evaluation/MovieSceneEvaluationTree.h"

Syntax

template<typename DataType>
struct TMovieSceneEvaluationTree : public FMovieSceneEvaluationTree

Remarks

Templated version of FMovieSceneEvaluationTree that is also able to associate arbitrary data with nodes

Functions

Name Description

Public function

void

 

Add

(
    TRange< FFrameNumber > InTimeRange
)

Add a time range with no data associated

Public function

void

 

Add

(
    TRange< FFrameNumber > InTimeRange,
    DataType InData
)

Add a new time range with the associated data to the tree.

Public function

void

 

AddUnique

(
    TRange< FFrameNumber > InTimeRange,
    DataType InData
)

Add a new time range with the associated data to the tree. Ensures no duplicates.

Public function

void

 

Compact()

Compact the memory used by this tree so it's using as little as possible

Public function Const

TMovieSceneE...

 

GetAllData

Create an iterator that will iterate all data associated with the specified node

Public function Const

TArrayView< ...

 

GetDataForSingleNode

(
    const FMovieSceneEvaluationTreeNode...
)

Access the data associated with a single node in the tree.

Public function

void

 

Reset()

Reset this tree

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss