docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Adaptive Performance Visual Scripting

    After installing Adaptive Performance, Unity's Visual Scripting system includes nodes that you can use to access Adaptive Performance metrics without implementing anything in C#.

    When you install the Visual Scripting package, Unity automatically activates the Adaptive Performance units. When you add Adaptive Performance to a project with existing Visual Scripting graphs, you must recompile the units. To do this, select Edit > Project Settings > Visual Scripting > Node Library > Regenerate Units.

    Visual Scripting Regenerate Node setting.

    After Unity regenerates Adaptive Performance units, you can add new units in your graph. To do this, right-click on the background of any script graph. You can find the units in the Adaptive Performance sub-menu.

    Visual Scripting Fuzzy entries.

    Units

    This section contains information on the Adaptive Performance-related units.

    Adaptive Performance Visual Scripting units overview.

    After you install Adaptive Performance, the Visual Scripting Fuzzy finder displays the following additional units:

    Thermal

    You can find the thermal nodes in the fuzzy search under AdaptivePerformance/Thermal.

    Use the On Thermal Metric event unit to receive updates when the thermal warning levels change.

    Adaptive Performance thermal metric event unit.

    For read-only properties, the Thermal Metric unit includes the temperature level and trend as well as the warning levels.

    Adaptive Performance thermal unit.

    For more information on thermals, refer to device-thermal-state-feedback.

    Performance

    You can find all available performance units in the fuzzy search under AdaptivePerformance/Performance.

    Bottleneck

    Use the On Bottleneck event unit to receive updates when the state of a bottleneck changes.

    Adaptive Performance bottleneck even unit.

    For more information on the bottleneck feature, refer to the user guide.

    Frametiming

    The Frame Timing unit provides different frametime metrics.

    Adaptive Performance frametiming unit

    For more information, refer to frametimings.

    FPS

    The FPS (Frames per Second) items provide an accurate representation of how many frames are rendered per second.

    Adaptive Performance frametiming unit.

    Clusterinfo

    The Cluster Info unit provides information about CPU cores.

    Adaptive Performance clusterinfo unit.

    For more information about the Cluster Info feature, refer to the user guide.

    Performance Levels

    Use the On Performance Level event unit to receive updates when CPU or GPU levels change.

    Adaptive Performance on performance levels event unit.

    To actively change performance levels use the Set Performance Level unit.

    Adaptive Performance set performance levels unit.

    To see the current CPU and GPU performance levels use the Get Performance Level unit.

    Adaptive Performance performance levels read only unit.

    For more information, refer the user guide.

    Performance Mode

    Use the On Performance Mode event unit to receive updates when the performance mode changes.

    Adaptive Performance on performance mode event unit.

    To see the current performance mode, use the Get Performance Mode unit.

    Adaptive Performance performance mode read only unit.

    For more information about performance mode, refer to the user guide.

    Boost

    Use the On Boost event unit to receive updates when the CPU or GPU boost starts or ends.

    Adaptive Performance on boost event unit.

    To activate the CPU or GPU boost use the Set Boost unit.

    Adaptive Performance boost unit.

    To see the current status of the CPU or GPU boost, use the Get Boost unit.

    Adaptive Performance boost unit.

    For more information, refer to the boost mode.

    Indexer and Scalers

    To view the current thermal or performance action or when the next evaluation happens, use the Get Indexer Data unit.

    Adaptive Performance scaler unit.

    Use the On Level Scaler event unit to receive updates when and to which level a scaler changes.

    Adaptive Performance scaler unit.

    For more information about the individual scalers, refer to indexer-and-scalers.

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