◆ RuntimeAtlasPacker()
Semi.RuntimeAtlasPacker.RuntimeAtlasPacker |
( |
int |
width = 0 , |
|
|
int |
height = 0 , |
|
|
TextureFormat |
format = TextureFormat.RGBA32 , |
|
|
int |
padding = 2 |
|
) |
| |
|
inline |
◆ Apply()
void Semi.RuntimeAtlasPacker.Apply |
( |
| ) |
|
|
inline |
Apply all changes on the underlying atlas texture.
◆ IsPageTexture()
bool Semi.RuntimeAtlasPacker.IsPageTexture |
( |
Texture2D |
tex | ) |
|
|
inline |
◆ NewPage()
Creates a new page in the atlas.
- Returns
- The newly created page.
◆ Pack()
Add the specified texture to the atlas.
- Returns
- The newly created segment.
- Parameters
-
tex | Texture to add. |
apply | If set to true , will be applied after adding. |
◆ Format
TextureFormat Semi.RuntimeAtlasPacker.Format |
◆ Height
int Semi.RuntimeAtlasPacker.Height |
◆ OnNewPage
◆ Padding
int Semi.RuntimeAtlasPacker.Padding |
◆ Pages
◆ Width
int Semi.RuntimeAtlasPacker.Width |
The documentation for this class was generated from the following file:
- Semi/src/Semi/RuntimeAtlas.cs