The LightSourceColor attribute function sets or determines the color of a light source.
Syntax | |||||
LightSourceColor(LightIndex, Component) | |||||
Return value | |||||
Type |
Description | ||||
Long |
Color of the light source, e.g. calculated by RGB function. | ||||
Parameter | |||||
Use |
Name |
Type |
Passing |
Description | |
Required |
LightIndex |
Long |
ByVal |
Index of the light source | |
Required |
MaterialComponent |
MaterialComponent |
ByVal |
Material component | |