Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GeometryProcessing/Source/GeometryAlgorithms/Public/XAtlasWrapper.h |
Include |
#include "XAtlasWrapper.h" |
struct XAtlasPackOptions
Name | Description | ||
---|---|---|---|
|
bBilinear |
Leave space around charts for texels that would be sampled by bilinear filtering. |
|
|
bBlockAlign |
Align charts to 4x4 blocks. Also improves packing speed, since there are fewer possible chart locations to consider. |
|
|
bBruteForce |
Slower, but gives the best result. If false, use random chart placement. |
|
|
bCreateImage |
Create Atlas::image. |
|
|
bRotateCharts |
Rotate charts to improve packing. |
|
|
bRotateChartsToAxis |
Rotate charts to the axis of their convex hull. |
|
|
uint32_t |
MaxChartSize |
Charts larger than this will be scaled down. 0 means no limit. |
|
uint32_t |
Padding |
Number of pixels to pad charts with. |
|
uint32_t |
Resolution |
If 0, generate a single atlas with texelsPerUnit determining the final resolution. |
|
float |
TexelsPerUnit |
Unit to texel scale. |