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.
阅读时间1 分钟最后更新于 1 个月前
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.