Clears the atlas. This won't invoke OnFree for atlas tiles.
| 128 | /// Clears the atlas. This won't invoke OnFree for atlas tiles. |
| 129 | /// </summary> |
| 130 | void Clear() |
| 131 | { |
| 132 | if (Width == 0) |
| 133 | return; |
| 134 | Init(Width, Height, BordersPadding); |
| 135 | } |
| 136 | |
| 137 | /// <summary> |
| 138 | /// Clears and resets atlas back to the initial state. |
no test coverage detected