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
OpenMetaverse
Utils
Round
OpenMetaverse.Utils.Round C# (CSharp) Method
Utils Class Documentation
显示文件
Open project: 3di/3di-viewer-rei-libs
Round()
public
static
method
Round a floating-point value to the nearest integer
public
static
Round
(
float
val
) :
int
val
float
Floating point number to round
return
int
public static int Round(float val) { return (int)Math.Floor(val + 0.5f); }
Utils
Clamp
Distance
GetRunningPlatform
GetRunningRuntime
Hermite
IsFinite
Lerp
MD5
Round
SHA1
SmoothStep
ToDegrees
ToRadians