fromEquirect static method

Future<EnvironmentMapData> fromEquirect(
  1. HdrImage image, {
  2. int size = 64,
})

The surroundings in an equirectangular panorama image (the top row straight up, the middle column ahead along +Z).

Implementation

static Future<EnvironmentMapData> fromEquirect(
  HdrImage image, {
  int size = 64,
}) => compute(_equirectJob, (image, size));