7using System.Threading.Tasks;
17 #region --Client API--
33 Bridge.CreateGIFRecorder(
width, height, frameDuration,
Internal.Utility.GetPath(
@".gif"), callback,
43 public void CommitFrame<T>(T[] pixelBuffer,
long timestamp =
default) where T :
struct
54 public void CommitFrame(IntPtr nativeBuffer,
long timestamp =
default)
62 public void CommitSamples(
float[] sampleBuffer =
default,
long timestamp =
default)
using Leap.Unity.Interaction. Internal
Animated GIF image recorder.
void CommitFrame(IntPtr nativeBuffer, long timestamp=default)
Commit a video pixel buffer for encoding. The pixel buffer MUST have an RGBA8888 pixel layout.
Task< string > FinishWriting()
Finish writing and return the path to the recorded media file.
void CommitSamples(float[] sampleBuffer=default, long timestamp=default)
This recorder does not support committing sample buffers.
void CommitFrame< T >(T[] pixelBuffer, long timestamp=default)
Commit a video pixel buffer for encoding. The pixel buffer MUST have an RGBA8888 pixel layout.