Tanoda
|
Classes | |
class | TextureReference |
Public Member Functions | |
void | UpdateTextureList (List< LeapTextureFeature > textureFeatures) |
Updates the internal list of textures given some texture features to build an atlas for. This method does not do any atlas work, but must be called before RebuildAtlas is called. Once this method is called, you can check the isDirty flag to see if a rebuild is needed. More... | |
void | RebuildAtlas (ProgressBar progress, out Texture2D[] packedTextures, out AtlasUvs channelMapping) |
Actually perform the build for the atlas. This method outputs the atlas textures, and the atlas uvs that map textures into the atlas. This method takes in a progress bar so that the atlas process can be tracked visually, since it can take quite a bit of time when there are a lot of textures to pack. More... | |
Properties | |
bool | isDirty [get] |
Returns whether or not the results built by this atlas have become invalid. More... | |
Definition at line 87 of file AtlasBuilder.cs.
void Leap.Unity.GraphicalRenderer.AtlasBuilder.RebuildAtlas | ( | ProgressBar | progress, |
out Texture2D[] | packedTextures, | ||
out AtlasUvs | channelMapping | ||
) |
Actually perform the build for the atlas. This method outputs the atlas textures, and the atlas uvs that map textures into the atlas. This method takes in a progress bar so that the atlas process can be tracked visually, since it can take quite a bit of time when there are a lot of textures to pack.
Definition at line 198 of file AtlasBuilder.cs.
void Leap.Unity.GraphicalRenderer.AtlasBuilder.UpdateTextureList | ( | List< LeapTextureFeature > | textureFeatures | ) |
Updates the internal list of textures given some texture features to build an atlas for. This method does not do any atlas work, but must be called before RebuildAtlas is called. Once this method is called, you can check the isDirty flag to see if a rebuild is needed.
Definition at line 149 of file AtlasBuilder.cs.
|
get |
Returns whether or not the results built by this atlas have become invalid.
Definition at line 124 of file AtlasBuilder.cs.