[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/Profiling.Profiler.SetScreenshotCaptureFrameInterval.html [Back]  [Original]

Unity - Scripting API: Profiling.Profiler.SetScreenshotCaptureFrameInterval
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    LanguageEnglish
    • C#

    Profiler.SetScreenshotCaptureFrameInterval

    Suggest a change

    Success!

    Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

    Close

    Submission failed

    For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

    Close
    Your name Your email Suggestion* Submit suggestion

    Cancel

    Declaration

    public static void SetScreenshotCaptureFrameInterval(int frames);

    Parameters

    Parameter Description
    frames The number of frames until the next screenshot.

    Description

    Alter the rate that the Profiler takes a new screenshot for capture list thumbnails.

    By default, the Profiler takes a screenshot every 15 frames to be used when the profiling session is saved to disk. Use this function to alter how frequently that happens.

    For example, set the value to 1 to screenshot every frame, to make sure the saved thumbnail is the most up-to date. Set to 0 or a negative number to disable the functionality.


    Web Proxy Viewer  |  New URL  |  Original Page