Nevron .NET Vision
NDirectionalLightSource Class
Members 

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.SerializableAttribute()>
Public Class NDirectionalLightSource 
   Inherits NLightSource
   Implements Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.Dom.INNode, Nevron.Editors.INDomEditableNode, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
[System.Runtime.InteropServices.ClassInterface(ClassInterfaceType.AutoDual)]
[NIcon("GraphicsCore.Resources.Icons.Lighting.DirectionalLight.ico")]
[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

Reference

NDirectionalLightSource Members
Nevron.GraphicsCore Namespace

 

 


©2021. Nevron Software LLC.

Send Feedback