Home | All Classes | Grouped Classes | Index | Search

CL_Sprite::set_color

Sets the color.

	void set_color(
		float r, float g, float b, float a = 1.0f);

	void set_color(
		const CL_Color& c);

Detailed description:

Alpha 0.0f is full transparency, and 1.0f is full visibility (solid).

See also:

CL_Color | CL_Sprite



Questions or comments, write to the ClanLib mailing list.