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


In This Topic
    LightModel Class
    In This Topic
    The LightModel class controls the light effects applied to a 3D scene. It allows you to enable and disable scene lighting, to load predefined light schemes and control global light properties as well as gives access to the collection of light sources.
    Object Model
    LightModel Class
    Syntax
    'Declaration
     
    <ClassInterfaceAttribute(ClassInterfaceType.AutoDual)>
    <EditorAttribute(Xceed.Chart.Utilities.ObjectEditor, System.Drawing.Design.UITypeEditor)>
    <SerializableAttribute()>
    Public Class LightModel 
       Inherits Xceed.Chart.GraphicsCore.LightModelBase
    'Usage
     
    Dim instance As LightModel
    [ClassInterface(ClassInterfaceType.AutoDual)]
    [Editor(Xceed.Chart.Utilities.ObjectEditor, System.Drawing.Design.UITypeEditor)]
    [Serializable()]
    public class LightModel : Xceed.Chart.GraphicsCore.LightModelBase 
    Inheritance Hierarchy

    System.Object
       Xceed.Chart.GraphicsCore.LightModelBase
          Xceed.Chart.Standard.LightModel

    Public Constructors
     NameDescription
    Public ConstructorCreates a new LightModel object.  
    Top
    Public Properties
     NameDescription
    Public PropertyEnables/disables the lighting effects.  
    Public PropertySpecifies the color of the global ambient light.  
    Public PropertyRepresents the collection of light sources that are applied to the scene.  
    Public PropertyEnables/disables local viewpoint lighting. The local viewpoint lighting controls the way OpenGL calculates specular reflection angles.  
    Top
    Public Methods
     NameDescription
    Public MethodCreates an identical copy of the light model  
    Public MethodInitializes a light model from the properties of another light model object.  
    Public MethodConfigures the object to use a predefined light scheme. (Inherited from Xceed.Chart.GraphicsCore.LightModelBase)
    Public MethodOverloaded. Shows a light model properties dialog allowing you to visually edit the light model properties.  
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. This member is reserved for internal use and is not intended to be used directly from your code.  
    Top
    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