NevronOpenVision
Nevron.Nov.Graphics Namespace / NSpotLightSource Class / SpotCutoff Property
SpotCutoff Property
Gets/sets the value of the spot cutoff angle.
Syntax
public System.float SpotCutoff {get; set;}
Remarks
The spot cutoff angle is the maximum value of the angle between the vector defined from the light position and the light direction and the vector defined from the light position and the object. If the value of this angle is bigger than the SpotCutoff the light becomes completely masked. With the help of this property you can achieve directed lights. For example a regular torch has a SpotCuttoff angle of around 45 degrees.
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