Lore archive · Warcraft Wiki, 2023 dump
RDX API
Last wiki revision 2017-03-30
- VFL.CVFromCTLerp(c1, c2, t) - Linearly interpolate two color values, returning a vector.
- VFL.colorize(str, r, g, b, a1) - Use a color vector to color a string
- VFL.explodeColor(rgb) - Convert a color table to a color 3-vector
- VFL.explodeHexStringColor(colors) - Convert hex color string to R G B floats(0-1)
- VFL.explodeHexStringRGBA(colors) - Convert hex color string to R G B A floats(0-1)
- VFL.explodeRGBA(rgb) - Convert a color table to a color 4-vector
- VFL.strcolor(r, g, b, a) - Retrieve a string formatting code from a color vector
- VFL.strtcolor(t) - Retrieve a string formatting code from a color table
- VFL.tcolorize(str, t) - Use a color table to color a string
- VFL.Color:new(o) - Create a new color on the given object.
- VFL.Color:GetFormatString - Get the WOW text formatting string corresponding to this color
- VFL.Color:HLSTransform(c2, h, l, s) - Modify the HLS of the passed color c2, storing the result in this color.
- VFL.Color:RGBA(r, g, b, a) - Set color directly
- VFL.Color:RGBAVector - Get a vector from this color
- VFL.Color:RGBVector - Get a vector from this color without alpha
- VFL.Color:blend(c1, c2, t) - Blend this color via RGB linear interpolation between two colors.
- VFL.Color:clone - Clone this color, creating an identical new color object.
- VFL.Color:colorize(str) - Colorize the given string with this color
- VFL.Color:set(target) - Copy from the target color into this color
- VFL_TempColor - Use temporary colors to perform blend operations without consuming memory.
Source
https://warcraft.wiki.gg/wiki/RDX_API · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.