OptrisOptrisDocumentation

Documentation/OTC SDK/Optris.Sdk — C# API referencev12.0

ColorFrameHandler

public delegate void ColorFrameHandler(int source, ReadOnlySpan<byte> rgb, uint width, uint height, TimeSpan timestamp)

One visual source's picture during playback.

A named delegate rather than an Action because the pixels are a ReadOnlySpan, which a generic type argument cannot be. The span is borrowed and valid only for the duration of the call; copy anything you keep.