Eyeshot 10 WinForms API Reference
LightSettings Constructor(Vector3D,Color,Color,Boolean,Boolean,Boolean,lightType,Point3D,Double,Double,Double,Double,Double)

WinForms Assembly > devDept.Graphics Namespace > LightSettings Class > LightSettings Constructor : LightSettings Constructor(Vector3D,Color,Color,Boolean,Boolean,Boolean,lightType,Point3D,Double,Double,Double,Double,Double)
Direction
Color
Specular color
Light behaviour, set false to mimic the Sun
Light status
When true the light yields shadows
Light type
Position of the light (spot or point lights only)
Half angle of the spot light cone in radians (range 0 - PI/2) (spot lights only)
Exponent that determines how the light is focused inside the spot light cone (spot lights only)
Constant attenuation (point and spot lights only)
Linear attenuation (point and spot lights only)
Quadratic attenuation (point and spot lights only)
Standard constructor.
Syntax
'Declaration
 
Public Function New( _
   ByVal direction As Vector3D, _
   ByVal color As Color, _
   ByVal specular As Color, _
   ByVal stationary As Boolean, _
   ByVal active As Boolean, _
   ByVal yieldShadow As Boolean, _
   ByVal type As lightType, _
   ByVal position As Point3D, _
   ByVal spotHalfAngle As Double, _
   ByVal spotExponent As Double, _
   ByVal constantAttenuation As Double, _
   ByVal linearAttenuation As Double, _
   ByVal quadraticAttenuation As Double _
)

Parameters

direction
Direction
color
Color
specular
Specular color
stationary
Light behaviour, set false to mimic the Sun
active
Light status
yieldShadow
When true the light yields shadows
type
Light type
position
Position of the light (spot or point lights only)
spotHalfAngle
Half angle of the spot light cone in radians (range 0 - PI/2) (spot lights only)
spotExponent
Exponent that determines how the light is focused inside the spot light cone (spot lights only)
constantAttenuation
Constant attenuation (point and spot lights only)
linearAttenuation
Linear attenuation (point and spot lights only)
quadraticAttenuation
Quadratic attenuation (point and spot lights only)
See Also

Reference

LightSettings Class
LightSettings Members
Overload List