Platform SDK: DirectX |
The DirectX7.CreateColorRGBA method creates an RGBA color from supplied red, green, blue, and alpha components.
object.CreateColorRGBA(r As Single, _ g As Single, _ b As Single, _ a As Single) As Long
If the method succeeds, the new RGBA value is returned, or zero otherwise.
If the method fails, an error is raised and Err.Number is set.