Navigation
API > API/Plugins > API/Plugins/SequencerScriptingEditor > API/Plugins/SequencerScriptingEditor/USequencerToolsFunctionLibrary
Description
Create an event from a previously created blueprint endpoint and a payload. The resulting event should be added only to a channel of the section that was given as a parameter.
| Name | CreateEvent |
| Type | function |
| Header File | /Engine/Plugins/MovieScene/SequencerScripting/Source/SequencerScriptingEditor/Public/SequencerTools.h |
| Include Path | #include "SequencerTools.h" |
| Source | /Engine/Plugins/MovieScene/SequencerScripting/Source/SequencerScriptingEditor/Private/SequencerTools.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Sequencer Tools | Animation")
static FMovieSceneEvent CreateEvent
(
UMovieSceneSequence * InSequence,
UMovieSceneEventSectionBase * InSection,
const FSequencerQuickBindingResult & InEndpoint,
const TArray < FString > & InPayload
)
The created movie event.
Parameters
| Name | Remarks |
|---|---|
| InSequence | Main level sequence that holds the event track and to which the resulting event should be added. |
| InSection | Section of the event track of the main sequence. |
| InEndpoint | Previously created endpoint. |
| InPayload | Values passed as payload to event, count must match the numbers of payload variable names in @InEndpoint. |
See Also
- CreateQuickBinding