ColorValue.FromD3DColor(_D3DCOLORVALUE) Method (Microsoft.DirectX.Direct3D)
Initializes and returns an instance of a ColorValue structure using an _D3DCOLORVALUE value.
Definition
Visual Basic Public Shared Function FromD3DColor( _
ByVal color As _D3DCOLORVALUE _
) As ColorValueC# public static ColorValue FromD3DColor(
_D3DCOLORVALUE color
);C++ public:
static ColorValue FromD3DColor(
_D3DCOLORVALUE color
);JScript public static function FromD3DColor(
color : _D3DCOLORVALUE
) : ColorValue;
Parameters
color Microsoft.DirectX.PrivateImplementationDetails._D3DCOLORVALUE
A _D3DCOLORVALUE used to initialize a ColorValue structure.
Return Value
Microsoft.DirectX.Direct3D.ColorValue
A ColorValue structure whose properties are initialized to the color value.