 |
ExtensionsSaturate(Color3) Method |
Ensures that the color components are within 0 and 1 - if smaller than 0 than the value is set to 0; if bigger than 1 the value is set to 1. This is the same as saturate function in HLSL.
Namespace: Ab4d.SharpEngine.WpfAssembly: Ab4d.SharpEngine.Wpf (in Ab4d.SharpEngine.Wpf.dll) Version: 4.0.9584+1b7ee6bb29044dc79cb258fb9be4150ffbca20f3
Syntax
See Also