Class MovieRecorderSettings
Inherited Members
Namespace: UnityEditor.Recorder
Syntax
[RecorderSettings(typeof(MovieRecorder), "Movie", "movie_16")]
public class MovieRecorderSettings : RecorderSettings
Constructors
MovieRecorderSettings()
Default constructor.
Declaration
public MovieRecorderSettings()
Properties
AudioInputSettings
Indicates the Audio Input Settings currently used for this Recorder.
Declaration
public AudioInputSettings AudioInputSettings { get; }
Property Value
Type | Description |
---|---|
AudioInputSettings |
CaptureAlpha
Use this property to capture the alpha channel (True) or not (False) in the output.
Declaration
public bool CaptureAlpha { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Alpha channel will be captured only if the output image format supports it.
Extension
Stores the file extension used by this Recorder (without the dot).
Declaration
protected override string Extension { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
ImageInputSettings
Indicates the Image Input Settings currently used for this Recorder.
Declaration
public ImageInputSettings ImageInputSettings { get; set; }
Property Value
Type | Description |
---|---|
ImageInputSettings |
InputsSettings
Stores the list of Input settings required by this Recorder.
Declaration
public override IEnumerable<RecorderInputSettings> InputsSettings { get; }
Property Value
Type | Description |
---|---|
IEnumerable<RecorderInputSettings> |
Overrides
OutputFormat
Indicates the output video format currently used for this Recorder.
Declaration
public MovieRecorderSettings.VideoRecorderOutputFormat OutputFormat { get; set; }
Property Value
Type | Description |
---|---|
MovieRecorderSettings.VideoRecorderOutputFormat |
VideoBitRateMode
Indicates the video bit rate preset currently used for this Recorder.
Declaration
public VideoBitrateMode VideoBitRateMode { get; set; }
Property Value
Type | Description |
---|---|
VideoBitrateMode |
Methods
GetPresetsForEncoder(Int32, out List<String>, out List<String>)
Gets the preset names and options of the encoder at the specified index.
Declaration
public void GetPresetsForEncoder(int indexEncoder, out List<string> presetNames, out List<string> presetOptions)
Parameters
Type | Name | Description |
---|---|---|
Int32 | indexEncoder | The index of the encoder to query |
List<String> | presetNames | The list of preset names |
List<String> | presetOptions | The list of preset options |
ValidityCheck(List<String>)
Tests if the Recorder is correctly configured.
Declaration
protected override bool ValidityCheck(List<string> errors)
Parameters
Type | Name | Description |
---|---|---|
List<String> | errors | List of errors encountered. |
Returns
Type | Description |
---|---|
Boolean | True if there are no errors, False otherwise. |