Microsoft DirectX 9.0 SDK Update (October 2004)

ColorValue.ColorValue Constructor

Language:

Note: This documentation is preliminary and is subject to change.

Initializes a new instance of the ColorValue structure.

Definition

Visual Basic .NET Public Sub New( _
    ByVal r As Single, _
    ByVal g As Single, _
    ByVal b As Single _
)
C# public ColorValue(
    float r,
    float g,
    float b
);
Managed C++ public: ColorValue(
    float r,
    float g,
    float b
);
JScript .NET public function ColorValue(
    r : float,
    g : float,
    b : float
);

Parameters

r System.Single. A Single Leave Site value that represents the level of red in the color.
g System.Single. A Single Leave Site value that represents the level of green in the color.
b System.Single. A Single Leave Site value that represents the level of blue in the color.

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center