EmitScalerDataToProfilerStream(string, bool, int, int, float, bool, int)
Adaptive Performance sends scaler data to the profiler each frame. It is collected from multiple places with this method and flushed once with AdaptivePerformanceProfilerStats.FlushScalerDataToProfilerStream.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
public static void EmitScalerDataToProfilerStream(string scalerName, bool enabled, int overrideLevel, int currentLevel, float scale, bool applied, int maxLevel)
Parameters
The name of the scaler. 320 characters max.
If the scaler is currently enabled.
The override state of the scaler.
The current level of the scaler.
The actual scale of the scaler.
If the scaler is currently applied.
The maximum level of the scaler.