Struct RecordingContext
A structure that defines information that is passed to the encoder about the recording's inputs and requirements.
Inherited Members
Namespace: UnityEditor.Recorder.Encoder
Assembly: Unity.Recorder.Editor.dll
Syntax
public struct RecordingContext
Fields
doCaptureAlpha
Whether or not the encoder should capture the alpha channel.
Declaration
public bool doCaptureAlpha
Field Value
Type | Description |
---|---|
bool |
doCaptureAudio
Whether or not the encoder should capture audio.
Declaration
public bool doCaptureAudio
Field Value
Type | Description |
---|---|
bool |
fps
The frame rate of the recording.
Declaration
public MediaRational fps
Field Value
Type | Description |
---|---|
MediaRational |
frameRateMode
The type of frame rate configuration of the recording.
Declaration
public FrameRatePlayback frameRateMode
Field Value
Type | Description |
---|---|
FrameRatePlayback |
height
The height of the recorder image.
Declaration
public int height
Field Value
Type | Description |
---|---|
int |
path
The path of the output file.
Declaration
public string path
Field Value
Type | Description |
---|---|
string |
width
The width of the recorded image.
Declaration
public int width
Field Value
Type | Description |
---|---|
int |