Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Util/ColorConstants.h |
Include |
#include "Util/ColorConstants.h" |
namespace LinearColors
{
FLinearColor LinearColors::AliceBlue3f()
}
X11 Colors - https://www.w3.org/TR/css-color-3/#html4 python code to parse text file:
f1 = f.readlines() for x in f1 : tokens = x.split() colors = tokens[2].split(',') r = float(colors[0]) / 255.0; g = float(colors[1]) / 255.0; b = float(colors[2]) / 255.0; print "ColorConstant(" + tokens[0].capitalize() + ", " + str(r) + "f, " + str(g) + "f, " + str(b) + "f);"