Nevron.GraphicsCore Namespace / NSpotLightSource Class / SpotExponent Property


In This Topic
    SpotExponent Property
    In This Topic
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Spotlight")>
    <System.ComponentModel.DescriptionAttribute("The spot exponent specifies the intensity distribution of a spot light. Use values between 0 and 128.")>
    <System.ComponentModel.DefaultValueAttribute(0)>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property SpotExponent As System.Single
    'Usage
     
    
    Dim instance As NSpotLightSource
    Dim value As System.Single
     
    instance.SpotExponent = value
     
    value = instance.SpotExponent
    [System.ComponentModel.Category("Spotlight")]
    [System.ComponentModel.Description("The spot exponent specifies the intensity distribution of a spot light. Use values between 0 and 128.")]
    [System.ComponentModel.DefaultValue(0)]
    [System.Xml.Serialization.XmlAttribute()]
    public System.float SpotExponent {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