User Tools

Site Tools


4rpl:commands:setthemeoverlaycolor

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.txt · Last modified: 2021/02/09 16:01 by virgilw