Solid Edge Framework Type Library
GetLight Method
Specifies the index number for the light.
Returns the red component for the light.
Returns the green component for the light.
Returns the blue component for the light.
Returns the angle of the sweep in a spherical coordinate system for positioning the light relative to the target.
Returns the angle of the rotation in a spherical coordinate system for positioning the light relative to the target.
Description
Returns the parameters of a specified light for the referenced ViewStyle object.
Syntax
Visual Basic
Public Sub GetLight( _
   ByVal nLight As Long, _
   ByRef pfRed As Single, _
   ByRef pfGreen As Single, _
   ByRef pfBlue As Single, _
   ByRef pfTheta As Single, _
   ByRef pfPhi As Single _
) 
Parameters
nLight
Specifies the index number for the light.
pfRed
Returns the red component for the light.
pfGreen
Returns the green component for the light.
pfBlue
Returns the blue component for the light.
pfTheta
Returns the angle of the sweep in a spherical coordinate system for positioning the light relative to the target.
pfPhi
Returns the angle of the rotation in a spherical coordinate system for positioning the light relative to the target.
See Also

ViewStyle Object  | ViewStyle Members