setLightIntensityMultiplier method

Future<void> setLightIntensityMultiplier(
  1. double multiplier
)

Adjusts the lighting intensity multiplier for the AR scene. A value of 1.0 keeps the default lighting. Higher values brighten the model.

Implementation

Future<void> setLightIntensityMultiplier(double multiplier) async {
  try {
    await _channel.invokeMethod<void>('setLightIntensityMultiplier', {
      'multiplier': multiplier,
    });
  } catch (e) {
    print('Error caught: ' + e.toString());
  }
}