Homeworld Effects Manual: setColorA()

setColorA(RGBA color)

Default value: [255 + 255 * 256 + 255 * 65536 + 255 * 256 * 65536]

Makes certain colors opaque or transparent.

setColorA() indicates how opaque each color channel should be. If color has a red component of zero, any red parts of the object will be clear. Yellow parts will be somewhat see-through, and blue parts will be solid. The alpha component of color is the maximum opacity for all colors; if it is 0, the entire object is clear.