Megacool Unity
TheUnityinterfacetotheMegacoolSDK
Public Member Functions | Protected Attributes | Properties | List of all members
MegacoolRecordingConfig Class Reference

Pass to Megacool.StartRecording to configure how recordings are made. More...

Public Member Functions

 MegacoolRecordingConfig ()
 Configuration options for recording a GIF. More...
 
override string ToString ()
 

Protected Attributes

MegacoolOverflowStrategy overflowStrategy
 

Properties

MegacoolOverflowStrategy OverflowStrategy [get, set]
 How to compress longer recordings. More...
 
string RecordingId [get, set]
 An identifier for the recording. More...
 
int MaxFrames [get, set]
 Set the max number of frames in a recording. Must be larger than 2. More...
 
double PeakLocation [get, set]
 Set where the point of highest intensity should occur in a highlight recording. More...
 
int FrameRate [get, set]
 Set the capture frame rate. More...
 
int PlaybackFrameRate [get, set]
 Set the playback frame rate. More...
 
int LastFrameDelay [get, set]
 Set a custom delay on the last frame, in ms. Defaults to 1000. More...
 
string LastFrameOverlay [get, set]
 Overlay an image over the last frame of the GIF. More...
 

Detailed Description

Pass to Megacool.StartRecording to configure how recordings are made.

Constructor & Destructor Documentation

◆ MegacoolRecordingConfig()

MegacoolRecordingConfig.MegacoolRecordingConfig ( )
inline

Configuration options for recording a GIF.

Property Documentation

◆ FrameRate

int MegacoolRecordingConfig.FrameRate
getset

Set the capture frame rate.

The frame rate.

◆ LastFrameDelay

int MegacoolRecordingConfig.LastFrameDelay
getset

Set a custom delay on the last frame, in ms. Defaults to 1000.

The last frame delay.

◆ LastFrameOverlay

string MegacoolRecordingConfig.LastFrameOverlay
getset

Overlay an image over the last frame of the GIF.

Default is none. The path should be relative to the StreamingAssets directory.

The path to the last frame overlay, relative to the StreamingAssets directory

◆ MaxFrames

int MegacoolRecordingConfig.MaxFrames
getset

Set the max number of frames in a recording. Must be larger than 2.

The max frames.

◆ OverflowStrategy

MegacoolOverflowStrategy MegacoolRecordingConfig.OverflowStrategy
getset

How to compress longer recordings.

The overflow strategy.

◆ PeakLocation

double MegacoolRecordingConfig.PeakLocation
getset

Set where the point of highest intensity should occur in a highlight recording.

Must be between 0 and 1, the default is 0.7.

The peak location.

◆ PlaybackFrameRate

int MegacoolRecordingConfig.PlaybackFrameRate
getset

Set the playback frame rate.

Set this different from FrameRate to speed up or slow down the recording.

The playback frame rate.

◆ RecordingId

string MegacoolRecordingConfig.RecordingId
getset

An identifier for the recording.

The recording identifier.

Set this to enable having multiple recordings in progress at the same time. Pass the same identifier to MegacoolGifPreview.StartPrevierw and MegacoolShareConfig later to preview and share the different recordings.


The documentation for this class was generated from the following file: