HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_UVPack Class Reference

#include <GU_UVPack.h>

Classes

struct  Horizon
 
struct  Raster
 

Public Member Functions

 GU_UVPack (GU_Detail *gdp, const GA_PrimitiveGroup *grp=nullptr, int resolution=1000, int padding=10, bool pad_boundary=false, bool correct_area_proprtions=false, bool axis_align_islands=false, bool repack_wasted=false)
 
 ~GU_UVPack ()
 
void setPadding (int padding)
 
int tilePack (UT_IntArray *islands=NULL, int tile_u=0, int tile_v=0)
 
void scalePack (fpreal scale)
 
void udimPack (bool guess_udim_from_uvs=false)
 
RastergetRaster (int island, int inst)
 

Detailed Description

Definition at line 18 of file GU_UVPack.h.

Constructor & Destructor Documentation

GU_UVPack::GU_UVPack ( GU_Detail gdp,
const GA_PrimitiveGroup grp = nullptr,
int  resolution = 1000,
int  padding = 10,
bool  pad_boundary = false,
bool  correct_area_proprtions = false,
bool  axis_align_islands = false,
bool  repack_wasted = false 
)
GU_UVPack::~GU_UVPack ( )

Member Function Documentation

Raster* GU_UVPack::getRaster ( int  island,
int  inst 
)
inline

Definition at line 122 of file GU_UVPack.h.

void GU_UVPack::scalePack ( fpreal  scale)
void GU_UVPack::setPadding ( int  padding)
inline

Definition at line 31 of file GU_UVPack.h.

int GU_UVPack::tilePack ( UT_IntArray islands = NULL,
int  tile_u = 0,
int  tile_v = 0 
)
void GU_UVPack::udimPack ( bool  guess_udim_from_uvs = false)

The documentation for this class was generated from the following file: