docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IVariableRefreshRateSimulator

    Interface of the Samsung Variable Refresh Rate API for use with the Device Simulator.

    Inherited Members
    IVariableRefreshRate.SetRefreshRateByIndex(int)
    IVariableRefreshRate.SupportedRefreshRates
    IVariableRefreshRate.CurrentRefreshRate
    IVariableRefreshRate.RefreshRateChanged
    Namespace: UnityEditor.AdaptivePerformance.Simulator.Editor
    Assembly: Unity.AdaptivePerformance.Simulator.VRR.Extension.dll
    Syntax
    public interface IVariableRefreshRateSimulator : IVariableRefreshRate

    Methods

    GetCurrentRefreshRate()

    Gets the simulated display refresh rate.

    Declaration
    int GetCurrentRefreshRate()
    Returns
    Type Description
    int

    The simulated display refresh rate.

    GetSettings()

    Gets the simulated Android Provider Settings.

    Declaration
    VRRSettings GetSettings()
    Returns
    Type Description
    VRRSettings

    The simulated Android Provider Settings.

    SetAndroidDisplayRefreshRateMode(AndroidDisplayRefreshRate)

    Sets the simulated display refresh mode.

    Declaration
    void SetAndroidDisplayRefreshRateMode(AndroidDisplayRefreshRate rate)
    Parameters
    Type Name Description
    AndroidDisplayRefreshRate rate

    The display mode to set.

    SetRefreshRate(int)

    Sets the simulated display refresh rate.

    Declaration
    void SetRefreshRate(int targetRefreshRate)
    Parameters
    Type Name Description
    int targetRefreshRate

    The display refresh rate to set.

    SetSettings(VRRSettings)

    Sets the simulated Android Provider Settings.

    Declaration
    void SetSettings(VRRSettings vrrSettings)
    Parameters
    Type Name Description
    VRRSettings vrrSettings

    The simulated Android Provider Settings

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)