paths property

List<String> get paths

Every file it uses: its maps, the layers' files and its parent.

Implementation

List<String> get paths => [
  for (final p in [
    colorMap,
    metalRoughMap,
    normalMap,
    occlusionMap,
    emissionMap,
  ])
    if (p.isNotEmpty) p,
  ...layers,
  if (isVariant) parent,
];