Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FMovieSceneBindingReferences > API/Runtime/MovieScene/FMovieSceneBindingReferences/AddOrReplaceBinding
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/MovieSceneBindingReferences.h |
| Include | #include "MovieSceneBindingReferences.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/MovieSceneBindingReferences.cpp |
const FMovieSceneBindingReference * AddOrReplaceBinding
(
const FGuid & ObjectId,
UMovieSceneCustomBinding * NewCustomBinding,
int32 BindingIndex
)
Remarks
Replace the binding associated with the ObjectId at the given BindingIndex with a new custom binding. If no such binding exists, then one will be created at the nearest new BindingIndex.
Parameters
| Name | Description |
|---|---|
| ObjectId | The ID to associate the object with |
| CustomBinding | A created custom binding for the object |
| BindingIndex | The binding index of the binding to replace. |