engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 友元 | 所有成员列表
TMovieSceneEvaluationTree< DataType > 模板结构体 参考

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

#include <MovieSceneEvaluationTree.h>

+ 类 TMovieSceneEvaluationTree< DataType > 继承关系图:

Public 成员函数

void Add (TRange< FFrameNumber > InTimeRange)
 Add a time range with no data associated 更多...
 
void Add (TRange< FFrameNumber > InTimeRange, DataType InData)
 Add a new time range with the associated data to the tree. 更多...
 
void AddIfEmpty (TRange< FFrameNumber > InTimeRange, DataType InData)
 Adds a new time range with the associated data to the tree, only for segments where there's no data yet. 更多...
 
void AddIfEmptySelective (TRange< FFrameNumber > InTimeRange, DataType InData, TFunctionRef< bool(FMovieSceneEvaluationTreeNodeHandle)> Predicate)
 Adds a new time range with the associated data to the tree, only for segments where there's no data yet. 更多...
 
void AddSelective (TRange< FFrameNumber > InTimeRange, DataType InData, TFunctionRef< bool(FMovieSceneEvaluationTreeNodeHandle)> Predicate)
 Add a new time range with the associated data to the tree. 更多...
 
void AddUnique (TRange< FFrameNumber > InTimeRange, DataType InData)
 Add a new time range with the associated data to the tree. 更多...
 
void Compact ()
 Compact the memory used by this tree so it's using as little as possible
 
TMovieSceneEvaluationTreeDataIterator< DataType > GetAllData (FMovieSceneEvaluationTreeNodeHandle NodeHandle) const
 Create an iterator that will iterate all data associated with the specified node 更多...
 
TArrayView< const DataType > GetDataForSingleNode (const FMovieSceneEvaluationTreeNode &InNode) const
 Access the data associated with a single node in the tree.
 
TArrayView< DataType > GetMutableDataForSingleNode (const FMovieSceneEvaluationTreeNode &InNode)
 Access the data associated with a single node in the tree.
 
bool IsEmpty () const
 Check whether this tree is empty
 
void Reset ()
 Reset this tree
 
- Public 成员函数 继承自 FMovieSceneEvaluationTree
void AddTimeRange (TRange< FFrameNumber > InTimeRange)
 Insert the specified time range into this tree 更多...
 
 FMovieSceneEvaluationTree (FMovieSceneEvaluationTree &&RHS)
 Move construction must ensure that the root node is correctly restored to its default to ensure that invariant
 
TArrayView< FMovieSceneEvaluationTreeNode > GetChildren (const FMovieSceneEvaluationTreeNode &InNode)
 Get the children associated with the specified node 更多...
 
TArrayView< const FMovieSceneEvaluationTreeNode > GetChildren (const FMovieSceneEvaluationTreeNode &InNode) const
 Get the children associated with the specified node 更多...
 
FMovieSceneEvaluationTreeNode & GetNode (FMovieSceneEvaluationTreeNodeHandle Handle)
 Non-const access to a node from its handle. 更多...
 
const FMovieSceneEvaluationTreeNode & GetNode (FMovieSceneEvaluationTreeNodeHandle Handle) const
 Const access to a node from its handle. 更多...
 
const FMovieSceneEvaluationTreeNode & GetRootNode () const
 Access this tree's root node (infinite range) 更多...
 
bool IsValid (FMovieSceneEvaluationTreeNodeHandle Handle) const
 Check whether the specified handle corresponds to a node within this tree 更多...
 
FMovieSceneEvaluationTreeRangeIterator IterateFromLowerBound (TRangeBound< FFrameNumber > InStartingLowerBound) const
 Start iterating this tree from the specified lower boundary 更多...
 
FMovieSceneEvaluationTreeRangeIterator IterateFromTime (FFrameNumber Time) const
 Start iterating this tree from the specified time 更多...
 
FMovieSceneEvaluationTree & operator= (FMovieSceneEvaluationTree &&RHS)
 Move assignment must ensure that the root node is correctly restored to its default to ensure that invariant
 

友元

FArchive & operator<< (FArchive &Ar, TMovieSceneEvaluationTree< DataType > &In)
 Serialization operator
 
bool operator== (const TMovieSceneEvaluationTree< DataType > &A, const TMovieSceneEvaluationTree< DataType > &B)
 Equality operator
 

额外继承的成员函数

- Protected 成员函数 继承自 FMovieSceneEvaluationTree
void AddTimeRange (TRange< FFrameNumber > InTimeRange, const IMovieSceneEvaluationTreeNodeOperator &InOperator, FMovieSceneEvaluationTreeNodeHandle InParent, const TFunctionRef< bool(FMovieSceneEvaluationTreeNodeHandle)> *Predicate)
 Insert the specified time range into this tree 更多...
 
FMovieSceneEvaluationTreeNode & GetNode (FEvaluationTreeEntryHandle ChildrenID, int32 Index)
 Non-const access to a node from its parent's ChildrenID and this node's index. 更多...
 
const FMovieSceneEvaluationTreeNode & GetNode (FEvaluationTreeEntryHandle ChildrenID, int32 Index) const
 Const access to a node from its parent's ChildrenID and this node's index. 更多...
 
void InsertNewChild (TRange< FFrameNumber > InEffectiveRange, const IMovieSceneEvaluationTreeNodeOperator &InOperator, int32 InsertIndex, FMovieSceneEvaluationTreeNodeHandle InParent)
 Helper function that creates a new child for the specified parent node 更多...
 
- Protected 属性 继承自 FMovieSceneEvaluationTree
TEvaluationTreeEntryContainer< FMovieSceneEvaluationTreeNode > ChildNodes
 Segmented array of all child nodes within this tree (in no particular order)
 
FMovieSceneEvaluationTreeNode RootNode
 This tree's root node
 

详细描述

template<typename DataType>
struct TMovieSceneEvaluationTree< DataType >

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

成员函数说明

◆ Add() [1/2]

template<typename DataType >
void TMovieSceneEvaluationTree< DataType >::Add ( TRange< FFrameNumber >  InTimeRange)
inline

Add a time range with no data associated

参数
InTimeRangeThe range with which this data should be associated

◆ Add() [2/2]

template<typename DataType >
void TMovieSceneEvaluationTree< DataType >::Add ( TRange< FFrameNumber >  InTimeRange,
DataType  InData 
)
inline

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

参数
InTimeRangeThe range with which this data should be associated
InDataThe data to assoicate with this time range

◆ AddIfEmpty()

template<typename DataType >
void TMovieSceneEvaluationTree< DataType >::AddIfEmpty ( TRange< FFrameNumber >  InTimeRange,
DataType  InData 
)
inline

Adds a new time range with the associated data to the tree, only for segments where there's no data yet.

参数
InTimeRangeThe range with which this data should be associated
InDataThe data to assoicate with this time range

◆ AddIfEmptySelective()

template<typename DataType >
void TMovieSceneEvaluationTree< DataType >::AddIfEmptySelective ( TRange< FFrameNumber >  InTimeRange,
DataType  InData,
TFunctionRef< bool(FMovieSceneEvaluationTreeNodeHandle)>  Predicate 
)
inline

Adds a new time range with the associated data to the tree, only for segments where there's no data yet.

参数
InTimeRangeThe range with which this data should be associated
InDataThe data to assoicate with this time range

◆ AddSelective()

template<typename DataType >
void TMovieSceneEvaluationTree< DataType >::AddSelective ( TRange< FFrameNumber >  InTimeRange,
DataType  InData,
TFunctionRef< bool(FMovieSceneEvaluationTreeNodeHandle)>  Predicate 
)
inline

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

参数
InTimeRangeThe range with which this data should be associated
InDataThe data to assoicate with this time range

◆ AddUnique()

template<typename DataType >
void TMovieSceneEvaluationTree< DataType >::AddUnique ( TRange< FFrameNumber >  InTimeRange,
DataType  InData 
)
inline

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

Ensures no duplicates.

参数
InTimeRangeThe range with which this data should be associated
InDataThe data to assoicate with this time range

◆ GetAllData()

template<typename DataType >
TMovieSceneEvaluationTreeDataIterator< DataType > TMovieSceneEvaluationTree< DataType >::GetAllData ( FMovieSceneEvaluationTreeNodeHandle  NodeHandle) const
inline

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

参数
NodeHandleThe node to get all data for

该结构体的文档由以下文件生成: