프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Abs | int | ||
Abs | long | ||
Abs | short | ||
BIT | uint | ||
Ctz | int | ||
GCD | ulong | ||
InverseLerp | double | ||
InverseLerp | float | ||
LCM | ulong | ||
Lerp | double | ||
Lerp | float | ||
Lerp16 | int | ||
Lerp16 | short | ||
Lerp16 | ushort | ||
Lerp8 | byte | ||
Log10 | double | ||
Log2 | double | ||
Remap | double | ||
Sign | int | ||
fp_to_linear | Int32 | ||
linear_to_fp | short | ||
make_bitmask | ushort | ||
unsigned_bitmask | byte |
메소드 | 설명 | |
---|---|---|
BIT ( byte x, byte n, byte w ) : byte | ||
BIT ( int x, byte n ) : int | ||
BIT ( int x, byte n, byte w ) : int | ||
BIT ( long x, byte n ) : long | ||
BIT ( long x, byte n, byte w ) : long | ||
BIT ( short x, byte n ) : short | ||
BIT ( short x, byte n, byte w ) : short | ||
BIT ( uint x, byte n ) : uint | ||
BIT ( ulong x, byte n ) : ulong | ||
BIT ( ulong x, byte n, byte w ) : ulong | ||
BIT ( ushort x, byte n ) : ushort | ||
BIT ( ushort x, byte n, byte w ) : ushort | ||
Clamp ( val, min, max ) : T | ||
FromFixedPoint ( long n, byte decimalBitPrecision = Global.FRAC_PRECISION_BITS ) : double | ||
FromFixedPoint ( ulong n, byte decimalBitPrecision = Global.FRAC_PRECISION_BITS ) : double | ||
InitArray ( uint length, Array defaultData ) : T[][] | ||
InitArray ( Array instance ) : void | ||
InitArray ( Array instance, uint length, Array defaultData ) : void | ||
InitArray ( Array instance, uint x, uint y ) : void | ||
InitList ( uint length, Array defaultData ) : List |
||
LCM ( Array args ) : ulong | ||
SincN ( double x ) : double | ||
ToBinStr ( short n, bool insert_space = true ) : string | ||
ToBool ( byte x ) : bool | ||
ToBool ( int x ) : bool | ||
ToBool ( long x ) : bool | ||
ToBool ( short x ) : bool | ||
ToBool ( uint x ) : bool | ||
ToBool ( ulong x ) : bool | ||
ToBool ( ushort x ) : bool | ||
ToFixedPoint ( float n, byte decimalBitPrecision = Global.FRAC_PRECISION_BITS, bool preserveSignBit = false ) : long | ||
make_bitmask ( int n ) : uint | ||
make_bitmask ( long n ) : ulong |
메소드 | 설명 | |
---|---|---|
Abs ( int n ) : int | ||
Abs ( long n ) : long | ||
Abs ( short n ) : short | ||
BIT ( uint x, byte n, byte w ) : uint | ||
Ctz ( int v ) : int | ||
GCD ( ulong a, ulong b ) : ulong | ||
InverseLerp ( double first, double last, double value ) : double | ||
InverseLerp ( float first, float last, float value ) : float | ||
LCM ( ulong a, ulong b ) : ulong | ||
Lerp ( double value1, double value2, double amount ) : double | ||
Lerp ( float value1, float value2, float amount ) : float | ||
Lerp16 ( int A, int B, int x ) : int | ||
Lerp16 ( short A, short B, short x ) : short | ||
Lerp16 ( ushort A, ushort B, ushort x ) : ushort | ||
Lerp8 ( byte A, byte B, byte x ) : byte | ||
Log10 ( double n ) : double | ||
Log2 ( double n ) : double | ||
Remap ( double value, double inFrom, double inTo, double outFrom, double outTo ) : double | ||
Sign ( int value ) : int | ||
fp_to_linear ( short value ) : Int32 | ||
linear_to_fp ( Int32 value ) : short | ||
make_bitmask ( short n ) : ushort | ||
unsigned_bitmask ( byte n ) : byte |
public static BIT ( short x, byte n, byte w ) : short | ||
x | short | |
n | byte | |
w | byte | |
리턴 | short |
public static BIT ( ulong x, byte n, byte w ) : ulong | ||
x | ulong | |
n | byte | |
w | byte | |
리턴 | ulong |
public static BIT ( ushort x, byte n, byte w ) : ushort | ||
x | ushort | |
n | byte | |
w | byte | |
리턴 | ushort |
public static FromFixedPoint ( long n, byte decimalBitPrecision = Global.FRAC_PRECISION_BITS ) : double | ||
n | long | |
decimalBitPrecision | byte | |
리턴 | double |
public static FromFixedPoint ( ulong n, byte decimalBitPrecision = Global.FRAC_PRECISION_BITS ) : double | ||
n | ulong | |
decimalBitPrecision | byte | |
리턴 | double |
public static InitArray ( uint length, Array defaultData ) : T[][] | ||
length | uint | |
defaultData | Array | |
리턴 | T[][] |
public static InitArray ( Array instance, uint length, Array defaultData ) : void | ||
instance | Array | |
length | uint | |
defaultData | Array | |
리턴 | void |
public static InitArray ( Array instance, uint x, uint y ) : void | ||
instance | Array | |
x | uint | |
y | uint | |
리턴 | void |
public static InitList ( uint length, Array defaultData ) : List |
||
length | uint | |
defaultData | Array | |
리턴 | List |
public static ToBinStr ( short n, bool insert_space = true ) : string | ||
n | short | |
insert_space | bool | |
리턴 | string |
public static ToFixedPoint ( float n, byte decimalBitPrecision = Global.FRAC_PRECISION_BITS, bool preserveSignBit = false ) : long | ||
n | float | |
decimalBitPrecision | byte | |
preserveSignBit | bool | |
리턴 | long |