Xceed Chart for WinForms v4.4 Documentation
LocalViewpointLighting Property


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > LightModel Class : LocalViewpointLighting Property
Enables/disables local viewpoint lighting. The local viewpoint lighting controls the way OpenGL calculates specular reflection angles.
Syntax
'Declaration
 
<DescriptionAttribute("Enables/disables local viewpoint lighting. The local viewpoint lighting controls the way OpenGL calculates specular reflection angles.")>
<CategoryAttribute("General")>
<DefaultValueAttribute()>
Public Property LocalViewpointLighting As Boolean
'Usage
 
Dim instance As LightModel
Dim value As Boolean
 
instance.LocalViewpointLighting = value
 
value = instance.LocalViewpointLighting
[Description("Enables/disables local viewpoint lighting. The local viewpoint lighting controls the way OpenGL calculates specular reflection angles.")]
[Category("General")]
[DefaultValue()]
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

Reference

LightModel Class
LightModel Members