Class Recorder
Base class for all Recorders. To create a new Recorder, extend GenericRecorder<T>.
Inherited Members
Namespace: UnityEditor.Recorder
Assembly: solution.dll
Syntax
public abstract class Recorder : ScriptableObject
Fields
Name | Description |
---|---|
m_Inputs | The list of inputs to the Recorder, representing the sources of the captured data. |
Properties
Name | Description |
---|---|
RecordedFramesCount | Indicates the number of frames of the current recording session. |
Recording | Tests if there is a recording session currently running. |
Methods
Name | Description |
---|---|
BeginRecording(RecordingSession) | Starts a new recording session. Callback is invoked once when the recording session starts. |
ConsoleLogMessage(string, LogType) | |
EndRecording(RecordingSession) | Ends the current recording session. Callback is invoked when the recording session ends. |
PrepareNewFrame(RecordingSession) | Prepares a frame before recording it. Callback is invoked for every frame during the recording session, before RecordFrame. |
RecordFrame(RecordingSession) | Records a single frame. Callback is invoked for every frame during the recording session. |
Reset() | |
SessionCreated(RecordingSession) | |
SkipFrame(RecordingSession) | Tests if a frame should be skipped before trying to record it. Callback is invoked for every frame during the recording session. |
SkipSubFrame(RecordingSession) | Tests if a sub frame should be skipped before trying to record it. Callback is invoked for every frame during the recording session. |