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


In This Topic
    NSpotLightSource Class
    In This Topic
    Represents a spot light source in a 3D scene. Spot light sources have both position and direction vectors. They illuminate a part of the 3D scene that is enclosed by a cone. A real world example of a spot light is a desk lamp.
    Object Model
    NSpotLightSource Class
    Syntax
    'Declaration
     
    
    <System.Runtime.InteropServices.ClassInterfaceAttribute(ClassInterfaceType.AutoDual)>
    <NIconAttribute("GraphicsCore.Resources.Icons.Lighting.SpotLight.ico")>
    <System.Xml.Serialization.XmlIncludeAttribute(Nevron.GraphicsCore.NDirectionalLightSource)>
    <System.SerializableAttribute()>
    Public Class NSpotLightSource 
       Inherits NPointLightSource
       Implements Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.Dom.INNode, Nevron.Editors.INDomEditableNode, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
    'Usage
     
    
    Dim instance As NSpotLightSource
    [System.Runtime.InteropServices.ClassInterface(ClassInterfaceType.AutoDual)]
    [NIcon("GraphicsCore.Resources.Icons.Lighting.SpotLight.ico")]
    [System.Xml.Serialization.XmlInclude(Nevron.GraphicsCore.NDirectionalLightSource)]
    [System.Serializable()]
    public class NSpotLightSource : NPointLightSource, 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