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


In This Topic
    NPointLightSource Class
    In This Topic
    Represents a point light source in a 3D scene. Point light sources have position but no direction, so they emit light equally in all directions. Light intensity can attenuate with distance, so that objects located near a point light source get more illuminated than distant objects.
    Object Model
    NPointLightSource Class
    Syntax
    'Declaration
     
    
    <System.Runtime.InteropServices.ClassInterfaceAttribute(ClassInterfaceType.AutoDual)>
    <NIconAttribute("GraphicsCore.Resources.Icons.Lighting.PointLight.ico")>
    <System.Xml.Serialization.XmlIncludeAttribute(Nevron.GraphicsCore.NDirectionalLightSource)>
    <System.SerializableAttribute()>
    Public Class NPointLightSource 
       Inherits NLightSource
       Implements Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.Dom.INNode, Nevron.Editors.INDomEditableNode, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
    'Usage
     
    
    Dim instance As NPointLightSource
    [System.Runtime.InteropServices.ClassInterface(ClassInterfaceType.AutoDual)]
    [NIcon("GraphicsCore.Resources.Icons.Lighting.PointLight.ico")]
    [System.Xml.Serialization.XmlInclude(Nevron.GraphicsCore.NDirectionalLightSource)]
    [System.Serializable()]
    public class NPointLightSource : 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.NPointLightSource
                Nevron.GraphicsCore.NSpotLightSource

    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