Nevron .NET Vision
Nevron.GraphicsCore Namespace / NDirectionalLightSource Class
Members


In This Topic
    NDirectionalLightSource Class
    In This Topic
    Represents a directional light source in a 3D scene. Directional light sources are treated as if they are located infinitely far away from the scene. A directional light source has only a direction vector, but no location. The effect of an infinite location is that the rays of light can be considered parallel by the time they reach an object. An example of a real-world directional light source is the sun. Directional lights are rendered faster than point lights and spot lights.
    Object Model
    NDirectionalLightSource Class
    Syntax
    'Declaration
     
    
    <System.Runtime.InteropServices.ClassInterfaceAttribute(ClassInterfaceType.AutoDual)>
    <NIconAttribute("GraphicsCore.Resources.Icons.Lighting.DirectionalLight.ico")>
    <System.Xml.Serialization.XmlIncludeAttribute(Nevron.GraphicsCore.NDirectionalLightSource)>
    <System.SerializableAttribute()>
    Public Class NDirectionalLightSource 
       Inherits NLightSource
       Implements Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.Dom.INNode, Nevron.Editors.INDomEditableNode, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
    'Usage
     
    
    Dim instance As NDirectionalLightSource
    [System.Runtime.InteropServices.ClassInterface(ClassInterfaceType.AutoDual)]
    [NIcon("GraphicsCore.Resources.Icons.Lighting.DirectionalLight.ico")]
    [System.Xml.Serialization.XmlInclude(Nevron.GraphicsCore.NDirectionalLightSource)]
    [System.Serializable()]
    public class NDirectionalLightSource : NLightSource, Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.Dom.INNode, Nevron.Editors.INDomEditableNode, Nevron.INReferenceHolder, Nevron.INReferenceProvider  
    Inheritance Hierarchy

    System.Object
       Nevron.Dom.NAttribute
          Nevron.GraphicsCore.NLightSource
             Nevron.GraphicsCore.NDirectionalLightSource

    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