Table of Contents

Wiki > TV3D65 Index > TVMathLibrary

TVColorAdd

DESCRIPTION

Performs addition of two colors.

DECLARATION

VB.NET TVColorAdd(retOutColor As TV_COLOR , cColor1 As TV_COLOR , cColor2 As TV_COLOR)
C++ void TVColorAdd(cTV_COLOR* retOutColor , cTV_COLOR* cColor1 , cTV_COLOR* cColor2)

PARAMETERS

NAMEOPTIONALDESCRIPTION
cColor1NoFirst color
cColor2NoSecond color

RETURN VALUE

NAMEOPTIONALDESCRIPTION
retOutColorNoAdded color

EXAMPLES

ExampleBasic example.

TIPS

  • Valid color components (r,g,b,a) are in interval <0;1>. This method may produce values outside this interval.
 
tvmathlibrary/tvcoloradd.txt · Last modified: 2010/05/07 13:31 by 129.215.4.85