Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
AcTools
Utils
MathUtils
Saturate
AcTools.Utils.MathUtils.Saturate C# (CSharp) Method
MathUtils Class Documentation
显示文件
Open project: gro-ove/actools
Saturate()
public
static
method
public
static
Saturate
(
this
value
) :
double
value
this
return
double
public static double Saturate(this double value) => value < 0d ? 0d : value > 1d ? 1d : value;
Same methods
MathUtils::
Saturate
(
this
value
) :
float
MathUtils
Abs
Acos
Clamp
ClampToByte
Cos
Floor
IsFinite
Max
Pow
Random
RoughlyEquals
Round
RoundToInt
Saturate
Sin
Sqrt
ToDoublePercentage
ToIntPercentage