{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method TrySetCPULevel | Oculus XR Plugin | 4.1.2
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TrySetCPULevel

    TrySetCPULevel(int)

    Set the CPU Level for the device

    Declaration
    public static bool TrySetCPULevel(int level)
    Parameters
    Type Name Description
    int level

    Allowable values are integers in the range 0 - 4 (inclusive). A value of 0 is the lowest performance level but is the most power efficient. Please note: as this is a hint, it may not be immediately reflected by the system.

    Returns
    Type Description
    bool

    True if we have no errors returned by the native function. We return false when the native function returns a failure condition. Check the log for more information.

    In This Article
    Back to top
    Copyright © 2023 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)