XAtlasPackOptions

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryAlgorithms

Header

/Engine/Plugins/Runtime/GeometryProcessing/Source/GeometryAlgorithms/Public/XAtlasWrapper.h

Include

#include "XAtlasWrapper.h"

Syntax

struct XAtlasPackOptions

Variables

Name Description

Public variable

bool

 

bBilinear

Leave space around charts for texels that would be sampled by bilinear filtering.

Public variable

bool

 

bBlockAlign

Align charts to 4x4 blocks. Also improves packing speed, since there are fewer possible chart locations to consider.

Public variable

bool

 

bBruteForce

Slower, but gives the best result. If false, use random chart placement.

Public variable

bool

 

bCreateImage

Create Atlas::image.

Public variable

bool

 

bRotateCharts

Rotate charts to improve packing.

Public variable

bool

 

bRotateChartsToAxis

Rotate charts to the axis of their convex hull.

Public variable

uint32_t

 

MaxChartSize

Charts larger than this will be scaled down. 0 means no limit.

Public variable

uint32_t

 

Padding

Number of pixels to pad charts with.

Public variable

uint32_t

 

Resolution

If 0, generate a single atlas with texelsPerUnit determining the final resolution.

Public variable

float

 

TexelsPerUnit

Unit to texel scale.