Свойство | Type | Description | |
---|---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 ( byte x, byte n, byte w ) : byte | ||
x | byte | |
n | byte | |
w | byte | |
Résultat | byte |
public static BIT ( int x, byte n, byte w ) : int | ||
x | int | |
n | byte | |
w | byte | |
Résultat | int |
public static BIT ( long x, byte n, byte w ) : long | ||
x | long | |
n | byte | |
w | byte | |
Résultat | long |
public static BIT ( short x, byte n ) : short | ||
x | short | |
n | byte | |
Résultat | short |
public static BIT ( short x, byte n, byte w ) : short | ||
x | short | |
n | byte | |
w | byte | |
Résultat | short |
public static BIT ( ulong x, byte n ) : ulong | ||
x | ulong | |
n | byte | |
Résultat | ulong |
public static BIT ( ulong x, byte n, byte w ) : ulong | ||
x | ulong | |
n | byte | |
w | byte | |
Résultat | ulong |
public static BIT ( ushort x, byte n ) : ushort | ||
x | ushort | |
n | byte | |
Résultat | ushort |
public static BIT ( ushort x, byte n, byte w ) : ushort | ||
x | ushort | |
n | byte | |
w | byte | |
Résultat | ushort |
public static FromFixedPoint ( long n, byte decimalBitPrecision = Global.FRAC_PRECISION_BITS ) : double | ||
n | long | |
decimalBitPrecision | byte | |
Résultat | double |
public static FromFixedPoint ( ulong n, byte decimalBitPrecision = Global.FRAC_PRECISION_BITS ) : double | ||
n | ulong | |
decimalBitPrecision | byte | |
Résultat | double |
public static InitArray ( uint length, Array defaultData ) : T[][] | ||
length | uint | |
defaultData | Array | |
Résultat | T[][] |
public static InitArray ( Array instance ) : void | ||
instance | Array | |
Résultat | void |
public static InitArray ( Array instance, uint length, Array defaultData ) : void | ||
instance | Array | |
length | uint | |
defaultData | Array | |
Résultat | void |
public static InitArray ( Array instance, uint x, uint y ) : void | ||
instance | Array | |
x | uint | |
y | uint | |
Résultat | void |
public static InitList ( uint length, Array defaultData ) : List |
||
length | uint | |
defaultData | Array | |
Résultat | List |
public static ToBinStr ( short n, bool insert_space = true ) : string | ||
n | short | |
insert_space | bool | |
Résultat | string |
public static ToFixedPoint ( float n, byte decimalBitPrecision = Global.FRAC_PRECISION_BITS, bool preserveSignBit = false ) : long | ||
n | float | |
decimalBitPrecision | byte | |
preserveSignBit | bool | |
Résultat | long |
public static make_bitmask ( int n ) : uint | ||
n | int | |
Résultat | uint |
public static make_bitmask ( long n ) : ulong | ||
n | long | |
Résultat | ulong |