Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public static void EmitScalerDataToProfilerStream(string scalerName, bool enabled, int overrideLevel, int currentLevel, float scale, bool applied, int maxLevel)

Parameters

scalerName

The name of the scaler. 320 characters max.

enabled

If the scaler is currently enabled.

overrideLevel

The override state of the scaler.

currentLevel

The current level of the scaler.

scale

The actual scale of the scaler.

applied

If the scaler is currently applied.

maxLevel

The maximum level of the scaler.