- Documentation
- Client functions
- setElementPreviewRefresh
Function
setElementPreviewRefresh
Sets how often in milliseconds the preview takes a new shot (at least 50; 0 = only after a change and updateElementPreview). One shot costs about 10 ms of a frame.
Syntax
bool setElementPreviewRefresh(preview preview, int ms)Arguments
previewpreview- The preview.
msint- Interval.
Returns
true on success.
Example
setElementPreviewRefresh(preview, 0)