Class GifRecorderSettings
Inheritance
System.Object
GifRecorderSettings
Namespace: VoxelBusters.ScreenRecorderKit
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class GifRecorderSettings : SettingsPropertyGroup
Constructors
GifRecorderSettings(Boolean, Int32, Int32, Boolean, Int32, Int32, Int32, Single, ThreadPriority)
Declaration
public GifRecorderSettings(bool isEnabled = true, int width = 320, int height = 200, bool autoAspect = true, int fps = 15, int repeat = 0, int quality = 15, float bufferSize = 3F, ThreadPriority threadPriority = null)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isEnabled | |
System.Int32 | width | |
System.Int32 | height | |
System.Boolean | autoAspect | |
System.Int32 | fps | |
System.Int32 | repeat | |
System.Int32 | quality | |
System.Single | bufferSize | |
ThreadPriority | threadPriority |
Properties
AutoAspect
Enabling this will adjust the aspect automatically.
Declaration
public bool AutoAspect { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
BufferSize
Size of the buffer used.
Declaration
public float BufferSize { get; }
Property Value
Type | Description |
---|---|
System.Single |
FramePerSecond
Number of frames to capture per second
Declaration
public int FramePerSecond { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Height
Height of the recording.
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxFrameCount
Max frames allowed per recording.
Declaration
public int MaxFrameCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Quality
Quality of the recording.
Declaration
public int Quality { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Repeat
Enable to loop the gif
Declaration
public int Repeat { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ThreadPriority
Priority of the recording thread.
Declaration
public ThreadPriority ThreadPriority { get; }
Property Value
Type | Description |
---|---|
ThreadPriority |
TimePerFrame
Time per each frame.
Declaration
public float TimePerFrame { get; }
Property Value
Type | Description |
---|---|
System.Single |
Width
Width of the recording.
Declaration
public int Width { get; }
Property Value
Type | Description |
---|---|
System.Int32 |