This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 4rpl:commands:createthemeoverlay [2021/03/04 23:37] – Karsten75 | 4rpl:commands:createthemeoverlay [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | Creates an overlay texture for the specified overlay (0 or 1) with a textureWidth and textureHeight. The texture will be filled with initColor. If an overlay texture already exists, that texture will be disposed and replaced by the newly created texture. | + | Creates an overlay texture for the specified overlay (0 or 1) with a textureWidth and textureHeight. The texture will be filled with initColor. If an overlay texture already exists, that texture will be disposed and replaced by the newly created texture. |
| - | Additional Note: Overlay textures are saved with the map. Don't make a texture bigger than necessary to accomplish your visual goals. The max size is 2048x2048, but such a texture could add megabytes to the map save file size.\\ | + | |
| + | |||
| + | **Additional Note:** Overlay textures are saved with the map. Don't make a texture bigger than necessary to accomplish your visual goals. The max size is 2048x2048, but such a texture could add megabytes to the map save file size. | ||
| + | |||
| See [[SetThemeOverlayPixels]] for a larger example of theme overlay use. | See [[SetThemeOverlayPixels]] for a larger example of theme overlay use. | ||