NevronOpenVision
Nevron.Nov.Graphics Namespace / NSpotLightSource Class / SpotExponent Property
In This Topic
    SpotExponent Property
    In This Topic
    The spot exponent specifies the intensity distribution of a spot light.
    Syntax
    public System.float SpotExponent {get; set;}
    Remarks
    All values are automatically clamped in the range [0,128]. Effective light intensity is attenuated by the cosine of the angle between the direction of the light and the direction from the light to the vertex being lighted, raised to the power of the spot exponent. Thus, higher spot exponents result in a more focused light source. The default spot exponent is 0, resulting in uniform light distribution.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also