Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / LightModel Class / LightSources Property


In This Topic
    LightSources Property
    In This Topic
    Represents the collection of light sources that are applied to the scene.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("Represents the collection of light sources that are applied to the scene.")>
    Public Property LightSources As LightSourceCollection
    'Usage
     
    Dim instance As LightModel
    Dim value As LightSourceCollection
     
    instance.LightSources = value
     
    value = instance.LightSources
    [Category("General")]
    [Description("Represents the collection of light sources that are applied to the scene.")]
    public LightSourceCollection LightSources {get; set;}
    Remarks
    With the help of this collection you can add, remove and modify the lights applied to the 3D scene. The number of lights in the current Microsoft OpenGL implementation is limited to eight. This is why you cannot add more than eight lights to the collection.
    Requirements

    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

    See Also