Share via


ColorValue.Red Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the red value of the current color.

Definition

Visual Basic Public Property Red As Single
C# public float Red { get; set; }
C++ public:
property float Red {
        float get();
        void set(float value);
}
JScript public function get Red() : float
public function set Red(float);

Property Value

System.Single
A SingleLeave Site value that represents the red value of the current color.

This property is read/write.