 |
SobelEdgeDetectionPostProcessColorFactors Property |
Gets or sets a Vector4 value that specifies the factors for individual color contributions to the edge detection.
For example, to detect edges only on red colors, set this to (1,0,0,0).
To detect edges on changes of the alpha channel (for example when background is transparent), set the ColorFactors to (0, 0, 0, 1).
Default value is (0.25f, 0.25f, 0.25f, 0.25f) where all color values are equal.
Namespace: Ab4d.SharpEngine.PostProcessingAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic Vector4 ColorFactors { get; set; }Property Value
Vector4
See Also