Documentation

Support

Asset Transformer SDK


User Manual

Python API

C# API

Changelog

Discussions

Asset Transformer SDK

Repack texture coordinates

Use this feature to check if overlaps exist in UV space.
Read time 1 minuteLast updated 21 hours ago

API function: algo.hasOverlappingUV(occurrences, channel, resolution) -> bool Use this feature to check if overlaps exist in UV space. It returns true or false, depending on the existence of overlaps. If overlaps are not desired, see algo.repackUV

Parameters

  • channel (default 0): the UV channel to verify. If no UVs are found in this channel, there is no overlap detected.
  • resolution (default 1024): resolution of the underlying rasterization grid. If two polygons of different islands overlap in the same grid cell, then it is considered an overlap.