MeshBaker
MB2_TextureBakeResults.Material2AtlasRectangleMapper Class Reference

Public Member Functions

 Material2AtlasRectangleMapper (MB2_TextureBakeResults res)
 
bool TryMapMaterialToUVRect (Material mat, Mesh m, int submeshIdx, MB3_MeshCombinerSingle.MeshChannelsCache meshChannelCache, Dictionary< int, MB_Utility.MeshAnalysisResult[]> meshAnalysisCache, out Rect rectInAtlas, out Rect encapsulatingRect, out Rect sourceMaterialTilingOut, ref String errorMsg, MB2_LogLevel logLevel)
 

Constructor & Destructor Documentation

§ Material2AtlasRectangleMapper()

MB2_TextureBakeResults.Material2AtlasRectangleMapper.Material2AtlasRectangleMapper ( MB2_TextureBakeResults  res)

Member Function Documentation

§ TryMapMaterialToUVRect()

bool MB2_TextureBakeResults.Material2AtlasRectangleMapper.TryMapMaterialToUVRect ( Material  mat,
Mesh  m,
int  submeshIdx,
MB3_MeshCombinerSingle.MeshChannelsCache  meshChannelCache,
Dictionary< int, MB_Utility.MeshAnalysisResult[]>  meshAnalysisCache,
out Rect  rectInAtlas,
out Rect  encapsulatingRect,
out Rect  sourceMaterialTilingOut,
ref String  errorMsg,
MB2_LogLevel  logLevel 
)

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