Method | Description | |
---|---|---|
Abs ( float a ) : float | ||
Abs ( int a ) : int | ||
Bit ( int a, int b ) : int | ||
Clamp ( float a, float b, float c ) : float | ||
Clamp ( int a, int b, int c ) : int | ||
Clamp01 ( float a ) : float | ||
Clamp01 ( int a ) : int | ||
ComputeVertexHash ( int x, int y, int z ) : int | ||
CubicBezier ( Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, float t ) : Vector3 | ||
DistancePointSegment ( |
||
DistancePointSegment ( int x, int z, int px, int pz, int qx, int qz ) : float | ||
DistancePointSegment2 ( Vector3 a, Vector3 b, Vector3 p ) : float | ||
DistancePointSegment2 ( int x, int z, int px, int pz, int qx, int qz ) : float | ||
DistancePointSegmentStrict ( Vector3 a, Vector3 b, Vector3 p ) : float | ||
FormatBytes ( int bytes ) : string | ||
FormatBytesBinary ( int bytes ) : string | ||
Hermite ( float start, float end, float value ) : float | ||
IntToColor ( int i, float a ) : Color | ||
Lerp ( float a, float b, float t ) : float | ||
MagnitudeXZ ( Vector3 a, Vector3 b ) : float | ||
MapTo ( float startMin, float startMax, float value ) : float | ||
MapTo ( float startMin, float startMax, float targetMin, float targetMax, float value ) : float | ||
MapToRange ( float targetMin, float targetMax, float value ) : float | ||
Max ( float a, float b ) : float | ||
Max ( int a, int b ) : int | ||
Max ( uint a, uint b ) : uint | ||
Max ( ushort a, ushort b ) : ushort | ||
Min ( float a, float b ) : float | ||
Min ( int a, int b ) : int | ||
Min ( uint a, uint b ) : uint | ||
NearestPoint ( Vector3 lineStart, Vector3 lineEnd, Vector3 point ) : Vector3 | ||
NearestPointFactor ( |
||
NearestPointFactor ( |
||
NearestPointFactor ( Vector3 lineStart, Vector3 lineEnd, Vector3 point ) : float | ||
NearestPointStrict ( Vector3 lineStart, Vector3 lineEnd, Vector3 point ) : Vector3 | ||
NearestPointStrictXZ ( Vector3 lineStart, Vector3 lineEnd, Vector3 point ) : Vector3 | ||
Repeat ( int i, int n ) : int | ||
RoundToInt ( double v ) : int | ||
RoundToInt ( float v ) : int | ||
Sign ( float a ) : float | ||
Sign ( int a ) : int | ||
SqrMagnitudeXZ ( Vector3 a, Vector3 b ) : float |
public static Clamp ( float a, float b, float c ) : float | ||
a | float | |
b | float | |
c | float | |
return | float |
public static Clamp ( int a, int b, int c ) : int | ||
a | int | |
b | int | |
c | int | |
return | int |
public static ComputeVertexHash ( int x, int y, int z ) : int | ||
x | int | |
y | int | |
z | int | |
return | int |
public static CubicBezier ( Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, float t ) : Vector3 | ||
p0 | Vector3 | |
p1 | Vector3 | |
p2 | Vector3 | |
p3 | Vector3 | |
t | float | |
return | Vector3 |
public static DistancePointSegment ( |
||
a | ||
b | ||
p | ||
return | float |
public static DistancePointSegment ( int x, int z, int px, int pz, int qx, int qz ) : float | ||
x | int | |
z | int | |
px | int | |
pz | int | |
qx | int | |
qz | int | |
return | float |
public static DistancePointSegment2 ( Vector3 a, Vector3 b, Vector3 p ) : float | ||
a | Vector3 | |
b | Vector3 | |
p | Vector3 | |
return | float |
public static DistancePointSegment2 ( int x, int z, int px, int pz, int qx, int qz ) : float | ||
x | int | |
z | int | |
px | int | |
pz | int | |
qx | int | |
qz | int | |
return | float |
public static DistancePointSegmentStrict ( Vector3 a, Vector3 b, Vector3 p ) : float | ||
a | Vector3 | |
b | Vector3 | |
p | Vector3 | |
return | float |
public static FormatBytes ( int bytes ) : string | ||
bytes | int | |
return | string |
public static FormatBytesBinary ( int bytes ) : string | ||
bytes | int | |
return | string |
public static Hermite ( float start, float end, float value ) : float | ||
start | float | |
end | float | |
value | float | |
return | float |
public static IntToColor ( int i, float a ) : Color | ||
i | int | |
a | float | |
return | Color |
public static Lerp ( float a, float b, float t ) : float | ||
a | float | |
b | float | |
t | float | |
return | float |
public static MagnitudeXZ ( Vector3 a, Vector3 b ) : float | ||
a | Vector3 | |
b | Vector3 | |
return | float |
public static MapTo ( float startMin, float startMax, float value ) : float | ||
startMin | float | |
startMax | float | |
value | float | |
return | float |
public static MapTo ( float startMin, float startMax, float targetMin, float targetMax, float value ) : float | ||
startMin | float | |
startMax | float | |
targetMin | float | |
targetMax | float | |
value | float | |
return | float |
public static MapToRange ( float targetMin, float targetMax, float value ) : float | ||
targetMin | float | |
targetMax | float | |
value | float | |
return | float |
public static Max ( float a, float b ) : float | ||
a | float | |
b | float | |
return | float |
public static Max ( ushort a, ushort b ) : ushort | ||
a | ushort | |
b | ushort | |
return | ushort |
public static Min ( float a, float b ) : float | ||
a | float | |
b | float | |
return | float |
public static NearestPoint ( Vector3 lineStart, Vector3 lineEnd, Vector3 point ) : Vector3 | ||
lineStart | Vector3 | |
lineEnd | Vector3 | |
point | Vector3 | |
return | Vector3 |
public static NearestPointFactor ( |
||
lineStart | ||
lineEnd | ||
point | ||
return | float |
public static NearestPointFactor ( |
||
lineStart | ||
lineEnd | ||
point | ||
return | float |
public static NearestPointFactor ( Vector3 lineStart, Vector3 lineEnd, Vector3 point ) : float | ||
lineStart | Vector3 | |
lineEnd | Vector3 | |
point | Vector3 | |
return | float |
public static NearestPointStrict ( Vector3 lineStart, Vector3 lineEnd, Vector3 point ) : Vector3 | ||
lineStart | Vector3 | |
lineEnd | Vector3 | |
point | Vector3 | |
return | Vector3 |
public static NearestPointStrictXZ ( Vector3 lineStart, Vector3 lineEnd, Vector3 point ) : Vector3 | ||
lineStart | Vector3 | |
lineEnd | Vector3 | |
point | Vector3 | |
return | Vector3 |
public static SqrMagnitudeXZ ( Vector3 a, Vector3 b ) : float | ||
a | Vector3 | |
b | Vector3 | |
return | float |