Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Aura
Mabi
MabiMath
ByteToRadian
Aura.Mabi.MabiMath.ByteToRadian C# (CSharp) 메소드
MabiMath 1 문서
파일 보기
프로젝트 열기: aura-project/aura
ByteToRadian()
공개
정적인
메소드
Converts Mabi's byte direction into a radian.
While entity packets use a byte from 0-255 for the direction, props are using radian floats.
public
static
ByteToRadian
(
byte
direction
) :
float
direction
byte
리턴
float
public static float ByteToRadian(byte direction) { return (float)Math.PI * 2 / 255 * direction; }
MabiMath
ByteToRadian
DegreeToByte
DegreeToRadian
DirectionToByte
DirectionToRadian
FoodStatBonus
GetNameColor
RadianToByte