Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Clamp()
[1/2]
static
Half
INumber
<
Half
>. System.Half.Clamp
(
Half
value
,
Half
min
,
Half
max
)
inline
static
Definition at line
1042
of file
Half.cs
.
1043
{
1044
return
(
Half
)Math.Clamp((
float
)
value
, (
float
)min, (
float
)max);
1045
}
System.ExceptionArgument.value
@ value
System.Half.Half
Half(ushort value)
Definition
Half.cs:78
References
System.Math.Clamp()
, and
System.value
.
System
Half
Generated by
1.10.0