setEnvironment method
Set the environment HDR for image-based lighting.
hdrPath should be an asset path like 'environments/studio_small.hdr'.
Implementation
Future<void> setEnvironment(String hdrPath) async {
_ensureAttached();
await _channel!.invokeMethod('setEnvironment', {'hdrPath': hdrPath});
}