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


In This Topic
    GlobalAmbientLight Property
    In This Topic
    Specifies the color of the global ambient light.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("Specifies the color of the global ambient light.")>
    Public Property GlobalAmbientLight As Color
    'Usage
     
    Dim instance As LightModel
    Dim value As Color
     
    instance.GlobalAmbientLight = value
     
    value = instance.GlobalAmbientLight
    [Category("General")]
    [Description("Specifies the color of the global ambient light.")]
    public Color GlobalAmbientLight {get; set;}
    Remarks
    The global ambient light affects the brightness and color of the whole 3D scene and is not dependent on light sources. It takes effect only when lighting is enabled. Note that since all object are influenced by the global ambient light it is recommended to assign shades of gray to this color because otherwise the scene will have a color attenuation.
    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