Class CoreEncoderSettings
The settings of the Core Encoder.
Inherited Members
Namespace: UnityEditor.Recorder.Encoder
Assembly: solution.dll
Syntax
[Serializable]
[EncoderSettings(typeof(CoreEncoder))]
public sealed class CoreEncoderSettings : IEncoderSettings, IEquatable<CoreEncoderSettings>
Remarks
This class is sealed because users shouldn't inherit from it. Instead, create a new encoder along with its settings class.
Constructors
| Name | Description |
|---|---|
| CoreEncoderSettings() | Default constructor. |
Properties
| Name | Description |
|---|---|
| Codec | The selected codec of the encoder instance. |
| EncodingProfile | The choice of encoding profile for the H.264 codec. Each profile defines a set of capabilities and constraints on which decoders rely. |
| EncodingQuality | Indicates the encoding quality to use for the encoding. |
| GopSize | The interval in frames between two full images (I-frames), known as the Group of Pictures (GOP) size for the H.264 codec. |
| KeyframeDistance | The maximum interval in frames between two full images (I-frames), for the VP8 codec. |
| NumConsecutiveBFrames | The number of consecutive bidirectional predicted pictures (B-frames) for the H.264 codec.
|
| TargetBitRate | The target bitrate, in Mbps, for the H.264 codec. |
Methods
| Name | Description |
|---|---|
| Equals(object) | Compares the current object with another one. |
| GetHashCode() | Returns a hash code of all serialized fields. |
| SupportsCurrentPlatform() | Indicates whether the encoder is supported on the current operating system or not. |