set_source_color4f
Description:
This is a convenience function for creating a solid fill source material from the given color using normalized values for each component.
Latest drawing apis all take an explicit CoglPipeline argument so this stack of CoglMaterials shouldn't be used.
This color will be used for any subsequent drawing operation.
The value for each component is a fixed point number in the range between 0 and typeof (
unichar2)1.0. If the values passed in are outside that range, they will be
clamped.
Parameters:
| red |
value of the red channel, between 0 and |
| green |
value of the green channel, between 0 and |
| blue |
value of the blue channel, between 0 and |
| alpha |
value of the alpha channel, between 0 and |