Solid Edge Framework Type Library
AddLight Method
Specifies the red component for the light.
Specifies the green component for the light.
Specifies the blue component for the light.
Specifies the angle of the sweep in a spherical coordinate system for positioning the light relative to the target.
Specifies the angle of the rotation in a spherical coordinate system for positioning the light relative to the target.
Returns an index number for the light.
Description
Adds a light to the referenced ViewStyle object.
Syntax
Visual Basic
Public Sub AddLight( _
   ByVal fRed As Single, _
   ByVal fGreen As Single, _
   ByVal fBlue As Single, _
   ByVal fTheta As Single, _
   ByVal fPhi As Single, _
   ByRef pnLight As Long _
) 
Parameters
fRed
Specifies the red component for the light.
fGreen
Specifies the green component for the light.
fBlue
Specifies the blue component for the light.
fTheta
Specifies the angle of the sweep in a spherical coordinate system for positioning the light relative to the target.
fPhi
Specifies the angle of the rotation in a spherical coordinate system for positioning the light relative to the target.
pnLight
Returns an index number for the light.
See Also

ViewStyle Object  | ViewStyle Members

Send comments on this topic.