![]() |
![]() |
![]() |
ColorOperator.Modulate Method |
Language: |
Blends two colors.
Visual Basic Public Shared Function Modulate( _
ByVal c1 As Integer, _
ByVal c2 As Integer _
) As IntegerC# public static int Modulate(
int c1,
int c2
);C++ public:
static int Modulate(
int c1,
int c2
);JScript public static function Modulate(
c1 : int,
c2 : int
) : int;
c1 System.Int32
c2 System.Int32
This method blends two colors by multiplying matching color components.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center