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


In This Topic
    LocalViewpointLighting Property
    In This Topic
    Enables/disables local viewpoint lighting. The local viewpoint lighting controls the way OpenGL calculates specular reflection angles.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("Enables/disables local viewpoint lighting. The local viewpoint lighting controls the way OpenGL calculates specular reflection angles.")>
    <DefaultValueAttribute(False)>
    Public Property LocalViewpointLighting As Boolean
    'Usage
     
    Dim instance As LightModel
    Dim value As Boolean
     
    instance.LocalViewpointLighting = value
     
    value = instance.LocalViewpointLighting
    [Category("General")]
    [Description("Enables/disables local viewpoint lighting. The local viewpoint lighting controls the way OpenGL calculates specular reflection angles.")]
    [DefaultValue(false)]
    public bool LocalViewpointLighting {get; set;}
    Remarks
    Turning this feature on will only take effect if there are specular reflections in the scene (specular reflections are produced by light sources and materials with bright specular colors). The result is a more realistic lighting effect for the price of a slight performance decrease. The default value is false.
    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