Sets the red channel in a uint color.

Namespace: VVVV.Utils.SlimDX
Assembly: VVVV.Utils3rdParty (in VVVV.Utils3rdParty.dll) Version: 1.0.4694.10872

Syntax

C#
public static uint setR(
	this uint col,
	byte r
)

Parameters

col
Type: System..::..UInt32
The color as uint.
r
Type: System..::..Byte
The red channel.

Return Value

The color as uint with new red channel set.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UInt32. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also