AddPoint MethodAddPoint Method*
*



Contents  *



Index  *Topic Contents
*Previous Topic: AddCone Method
*Next Topic: ChangeColor Method

AddPoint Method

Description

Adds a point light source, like a light bulb.

Syntax

call object.filters.Light.addPoint(x,y,z,R,G,B,strength)

ParameterDescription
object Name of the object to which the Light filter is applied.
x, y, z Point light's coordinates.
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.
strength Intensity setting. Integer value.

Remarks

Intensity on the page is controlled by the angle of light on the surface. Add several for great multipoint gradients.

Applies To

Light Filter


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.