Set preview function.
Use this call to set the preview function. The preview function should be set right after the call to unity_simple_scope_new(). Note that by default the preview function will be invoked in a separate thread, if you want to change that behavior use the set_preview_async_func() method instead. You must call either this method or the async variant set_preview_async_func() to make this instance fully usable.