![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieSceneEvaluationField.h>
Static Public Attributes | |
| static constexpr uint32 | InvalidEntityID = ~0u |
Builder class used for populating an FMovieSceneEntityComponentField with data. Ensures that null or redundant entities or meta-data are not added to the field, and that all indices are valid and correct.
| FMovieSceneEntityComponentFieldBuilder::FMovieSceneEntityComponentFieldBuilder | ( | FMovieSceneEntityComponentField * | InField | ) |
Construction from a field to populate
| FMovieSceneEntityComponentFieldBuilder::~FMovieSceneEntityComponentFieldBuilder | ( | ) |
Destructor that cleans up redundant data if necessary
| int32 FMovieSceneEntityComponentFieldBuilder::AddMetaData | ( | const FMovieSceneEvaluationFieldEntityMetaData & | InMetaData | ) |
Add meta-data to this tree returning its index within this builder
| InMetaData | The meta-data to add. |
| void FMovieSceneEntityComponentFieldBuilder::AddOneShotEntity | ( | const TRange< FFrameNumber > & | OneShotRange, |
| int32 | LocalIndex, | ||
| int32 | InMetaDataIndex = INDEX_NONE |
||
| ) |
Add a one-shot entity to the field for a given range
| Range | The range within which this entity should be alive |
| LocalIndex | The index to the entity retrieved from FindOrAddEntity. |
| MetaDataIndex | (Optional) Meta-data to use for this entitiy within this range. See AddMetaData. |
| void FMovieSceneEntityComponentFieldBuilder::AddOneShotEntity | ( | const TRange< FFrameNumber > & | OneShotRange, |
| UObject * | EntityOwner, | ||
| uint32 | EntityID = 0, |
||
| int32 | InMetaDataIndex = INDEX_NONE |
||
| ) |
Add a one-shot entity to the field for a given range. Equivalent to AddOneShotEntity(Range, FindOrAddEntity(EntityOwner, EntityID)).
| Range | The range within which this entity should be alive |
| EntityOwner | The owner that produces the entity at runtime. Must implement the IMovieSceneEntityProvider interface |
| EntityID | (Optional) An identifier used to identify the entity inside IMovieSceneEntityProvider::ImportEntityImpl. Could be an index within an array or a set of flags. |
| MetaDataIndex | (Optional) Meta-data to use for this entitiy within this range. See AddMetaData. |
| void FMovieSceneEntityComponentFieldBuilder::AddPersistentEntity | ( | const TRange< FFrameNumber > & | Range, |
| int32 | LocalIndex, | ||
| int32 | InMetaDataIndex = INDEX_NONE |
||
| ) |
Add a persistent entity to the field for a given range
| Range | The range within which this entity should be alive |
| LocalIndex | The index to the entity retrieved from FindOrAddEntity. |
| MetaDataIndex | (Optional) Meta-data to use for this entitiy within this range. See AddMetaData. |
| void FMovieSceneEntityComponentFieldBuilder::AddPersistentEntity | ( | const TRange< FFrameNumber > & | Range, |
| UObject * | EntityOwner, | ||
| uint32 | EntityID = 0, |
||
| int32 | InMetaDataIndex = INDEX_NONE |
||
| ) |
Add a persistent entity to the field for a given range. Equivalent to AddPersistentEntity(Range, FindOrAddEntity(EntityOwner, EntityID)).
| Range | The range within which this entity should be alive |
| EntityOwner | The owner that produces the entity at runtime. Must implement the IMovieSceneEntityProvider interface |
| EntityID | (Optional) An identifier used to identify the entity inside IMovieSceneEntityProvider::ImportEntityImpl. Could be an index within an array or a set of flags. |
| MetaDataIndex | (Optional) Meta-data to use for this entitiy within this range. See AddMetaData. |
| int32 FMovieSceneEntityComponentFieldBuilder::FindOrAddEntity | ( | UObject * | EntityOwner, |
| uint32 | EntityID = 0 |
||
| ) |
Retrieve an index for the entity that is identified by the specified owner and ID
| EntityOwner | The owner that produces the entity at runtime. Must implement the IMovieSceneEntityProvider interface |
| EntityID | (Optional) An identifier used to identify the entity inside IMovieSceneEntityProvider::ImportEntityImpl. Could be an index within an array or a set of flags. |
| FMovieSceneEvaluationFieldSharedEntityMetaData & FMovieSceneEntityComponentFieldBuilder::GetSharedMetaData | ( | ) |
Access the shared meta-data for all the entities created by this builder.
| int32 FMovieSceneEntityComponentFieldBuilder::GetSharedMetaDataIndex | ( | ) | const |
Access the index of the shared meta-data of this builder.