Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FMovieSceneEntityComponentFieldB-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddOneShotEntity
(
const TRange< FFrameNumber >& OneShotRange, |
Add a one-shot entity to the field for a given range | Evaluation/MovieSceneEvaluationField.h | |
void AddOneShotEntity
(
const TRange< FFrameNumber >& OneShotRange, |
Add a one-shot entity to the field for a given range. | Evaluation/MovieSceneEvaluationField.h |
AddOneShotEntity(const TRange< FFrameNumber > &, int32, int32)
Description
- Add a one-shot entity to the field for a given range
-
One-shot entities are only ever alive for a single evaluation, regardless of the range within the field. This makes them ideal for events or triggers.
| Name | AddOneShotEntity |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneEvaluationField.h |
| Include Path | #include "Evaluation/MovieSceneEvaluationField.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/Evaluation/MovieSceneEvaluationField.cpp |
void AddOneShotEntity
(
const TRange < FFrameNumber > & OneShotRange,
int32 LocalIndex,
int32 InMetaDataIndex
)
Parameters
| Name | Remarks |
|---|---|
| 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. |
AddOneShotEntity(const TRange< FFrameNumber > &, UObject *, uint32, int32)
Description
- Add a one-shot entity to the field for a given range. Equivalent to AddOneShotEntity(Range, FindOrAddEntity(EntityOwner, EntityID)).
-
One-shot entities are only ever alive for a single evaluation, regardless of the range within the field. This makes them ideal for events or triggers.
| Name | AddOneShotEntity |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieSceneEvaluationField.h |
| Include Path | #include "Evaluation/MovieSceneEvaluationField.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/Evaluation/MovieSceneEvaluationField.cpp |
void AddOneShotEntity
(
const TRange < FFrameNumber > & OneShotRange,
UObject * EntityOwner,
uint32 EntityID,
int32 InMetaDataIndex
)
Parameters
| Name | Remarks |
|---|---|
| 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. |