Image Atlas sampler

The image atlas sampler allows you to sample a 2D texture atlas, and get the number of sub-UV rects, as well as their coordinates.
Image atlas sampler

Atlas samplers can be used to grab the aspect ratio of a specific atlas time and use it to set the 2D size of a billboard. They can be used with the following corelib templates:

  • atlas.sample

  • atlas.sampleTrim

  • atlas.subUVToGlobalUV

  • atlas.properties