Nevron.GraphicsCore Namespace / NSpotLightSource Class / Direction Property


In This Topic
    Direction Property (NSpotLightSource)
    In This Topic
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("A vector which specifies the direction of the light source.")>
    <System.ComponentModel.EditorAttribute(Nevron.Editors.NVectorTypeEditor, System.Drawing.Design.UITypeEditor)>
    Public Property Direction As NVector3DF
    'Usage
     
    
    Dim instance As NSpotLightSource
    Dim value As NVector3DF
     
    instance.Direction = value
     
    value = instance.Direction
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("A vector which specifies the direction of the light source.")]
    [System.ComponentModel.Editor(Nevron.Editors.NVectorTypeEditor, System.Drawing.Design.UITypeEditor)]
    public NVector3DF Direction {get; set;}
    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