FMovieSceneEntityComponentFieldBuilder::AddOneShotEntity

Add a one-shot entity to the field for a given range @note One-shot entities are only ever alive for a single evaluation, regardless of the range within the field.

Windows
MacOS
Linux

References

Module

MovieScene

Header

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

Include

#include "Evaluation/MovieSceneEvaluationField.h"

Source

/Engine/Source/Runtime/MovieScene/Private/Evaluation/MovieSceneEvaluationField.cpp

Syntax

void AddOneShotEntity
(
    const TRange< FFrameNumber > & OneShotRange,
    int32 LocalIndex,
    int32 InMetaDataIndex
)

Remarks

Add a one-shot entity to the field for a given range @note 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.

Parameters

Parameter

Description

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.

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