setAlphaf

Replaces alpha, leaving RGB unchanged. An out of range value triggers an assert in the debug build. a is a value from 0f to 1f.

a set to zero makes color fully transparent; a set to 1.0 makes color fully opaque.

Return

this

Parameters

a

alpha component of color