Experimental: this API is experimental and might be changed or removed in the future.

XRCameraSubsystem.TryGetAverageBrightness

Cambiar al Manual
public bool TryGetAverageBrightness (ref float averageBrightness);

Parámetros

averageBrightnessAn estimated average brightness for the environment.

Valor de retorno

bool Returns true if average brigthness was provided.

Descripción

Provides brightness for the whole image as an average of all pixels' brightness.