![]() | ![]() | ![]() |
| ||
|
ChangeColor Method
Description
Changes the light color for any light on the page.
Syntax
call object.filters.Light.ChangeColor(lightnumber, r,g,b, fAbsolute)
Parameter Description object Name of the object to which the Light filter is applied. lightnumber Identifying number for the light, for use in script. r Red value, integer from 0 to 255. 0 is lowest saturation, 255 is highest. g Green value, integer from 0 to 255. 0 is lowest saturation, 255 is highest. b Blue value, integer from 0 to 255. 0 is lowest saturation, 255 is highest. fAbsolute If this flag is true (nonzero), ChangeColor sets the value to be that new value. If this flag is false (zero), ChangeColor increments or decrements the color value by that amount. Applies To
Light Filter
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.