
'Declaration <ClassInterfaceAttribute(ClassInterfaceType.AutoDual)> <TypeConverterAttribute(Xceed.Chart.Standard.BrowseablePropertyConverter)> <SerializableAttribute()> Public Class LightSource Inherits Xceed.Chart.GraphicsCore.LightSourceBase
'Usage Dim instance As LightSource
[ClassInterface(ClassInterfaceType.AutoDual)] [TypeConverter(Xceed.Chart.Standard.BrowseablePropertyConverter)] [Serializable()] public class LightSource : Xceed.Chart.GraphicsCore.LightSourceBase
System.Object
Xceed.Chart.GraphicsCore.LightSourceBase
Xceed.Chart.Standard.LightSource
Name | Description | |
---|---|---|
![]() | LightSource Constructor | Creates a new LightSource object. |
Name | Description | |
---|---|---|
![]() | Ambient | The ambient color emitted by this light source. |
![]() | ConstantAttenuation | Specifies the constant attenuation factor for this light. For more information see the "OpenGL Lighting Model" topic in the User's Guide. |
![]() | Diffuse | The diffuse color emitted by this light source. |
![]() | Direction | A vector which specifies the direction of the light source. |
![]() | LightSourceType | Selects between positional and directional light source. |
![]() | LinearAttenuation | Specifies the linear attenuation factor for this light. For more information see the "OpenGL Lighting Model" topic in the User's Guide. |
![]() | Position | A vector which specifies the position of the light source in 3D space. |
![]() | QuadraticAttenuation | Specifies the quadratic attenuation factor for this light. For more information see the "OpenGL Lighting Model" topic in the User's Guide. |
![]() | Specular | The specular color emitted by this light source. |
![]() | SpotCutoff | The spot cutoff angle of the light source. With the help of this property you can make a positional light source act as a spot light. |
![]() | SpotExponent | The spot exponent specifies the intensity distribution of a spot light. |
Name | Description | |
---|---|---|
![]() | Clone | Creates a copy of the object. (Inherited from Xceed.Chart.GraphicsCore.LightSourceBase) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2