x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Sequence Recorder Automation

Hi, I am attempting to automate sequence recording with an editor plugin. Unfortunately most of the SequenceRecorder module is Private, namely SequenceRecorder.h which contains all useful functions, while the publicly exposed classes are mostly useless.

The only way I have been able to kick off a sequence recording through code is by creating a Blueprint actor in scene to call the exposed StartRecordingSequence function from SequenceRecorder's Blueprint function library through. This however is far from ideal, as the recording has a built in four second delay and complicates the plugin, forcing me to manage scene actors etc.

I have contemplated editing the module to expose SequenceRecoder.h, or adding a class in the module to expose the functions. However, I would prefer this plugin not to require engine module source edits and would like to avoid re-implementing the entire module to expose a single function which already exists. I am hoping someone can provide some insight into working with engine modules in this manner.

Product Version: UE 4.15
Tags:
more ▼

asked Mar 17 '17 at 06:02 PM in C++ Programming

avatar image

Clayton.Campbell
76 3 12 16

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I have figured out the solution:

I needed to get the SequenceRecorder module from FModuleManager and use the ISequenceRecorder interface to call the functions:

 ISequenceRecorder& SequenceRecorder = FModuleManager::LoadModuleChecked<ISequenceRecorder>("SequenceRecorder"):
 
 TArray<AActor*> ActorsToRecord = GetActorsToRecord();
 
 SequeceRecorder.StartRecording( ActorsToRecord, nullptr, nullptr);
more ▼

answered Mar 17 '17 at 06:32 PM

avatar image

Clayton.Campbell
76 3 12 16

avatar image TCX Aug 29 '17 at 07:02 AM

HI, I have the same issue here. and about the method you mentioned : GetActorsToRecord(); I can not find it.

So my question is how can i get the actors to record.

Thanks

avatar image Clayton.Campbell Aug 29 '17 at 05:02 PM

GetActorsToRecord() returns TArray which contains actors which will be recorded to the sequence. It is a member of the class and not a built in function.

How you populate the list is up to you. The way I get the actors to record for my purposes is through a slate details view widget, which allows the user to pick from actors in the world. You could also iterate through the world actors and add those currently selected to the array.

avatar image TCX Aug 30 '17 at 01:33 AM

Thanks : )

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question