docs.unity3d.com
    Show / Hide Table of Contents

    Interface IVariableRefreshRateSimulator

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

    Inherited Members
    IVariableRefreshRate.SupportedRefreshRates
    IVariableRefreshRate.CurrentRefreshRate
    IVariableRefreshRate.SetRefreshRateByIndex(Int32)
    IVariableRefreshRate.RefreshRateChanged
    Namespace: UnityEditor.AdaptivePerformance.Simulator.Editor
    Syntax
    public interface IVariableRefreshRateSimulator : IVariableRefreshRate

    Methods

    GetCurrentRefreshRate()

    Gets the simulated display refresh rate.

    Declaration
    int GetCurrentRefreshRate()
    Returns
    Type Description
    Int32

    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(Int32)

    Sets the simulated display refresh rate.

    Declaration
    void SetRefreshRate(int targetRefreshRate)
    Parameters
    Type Name Description
    Int32 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

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023