4rpl:commands:setthemeoverlaycolor

This is an old revision of the document!


Index

:!: Available in version 1.3 and later.

SetThemeOverlayColor

SetThemeOverlayColor(<-overlayNumber <-color)

Description

Sets the theme overlay color. The color is multiplied by the entire overlay image to produce the result seen on the screen. The color is a V4 that uses the 4th field for the alpha value. The overlayNumber should be 0 or 1.
See SetThemeOverlayPixels for a larger example of theme overlay use.

Examples

SetThemeOverlayColor(0 V4(1 1 1 0.5))

Index

4rpl/commands/setthemeoverlaycolor.1612904484.txt.gz · Last modified: 2025/02/14 14:56 (external edit)