Megacool Unity
TheUnityinterfacetotheMegacoolSDK
|
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 () |
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... | |
Pass to Megacool.StartRecording to configure how recordings are made.
|
inline |
Configuration options for recording a GIF
|
getset |
Set the capture frame rate.
The frame rate.
|
getset |
Set a custom delay on the last frame, in ms. Defaults to 1000.
The last frame delay.
|
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
|
getset |
Set the max number of frames in a recording. Must be larger than 2.
The max frames.
|
getset |
How to compress longer recordings.
The overflow strategy.
|
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.
|
getset |
Set the playback frame rate.
Set this different from FrameRate to speed up or slow down the recording.
The playback frame rate.
|
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.