C# Class Pathfinding.Voxels.Utility

Afficher le fichier Open project: henryj41043/TheUnseen

Méthodes publiques

Свойство Type Description
additiveTimer float
colors UnityEngine.Color[]
lastAdditiveTimerStart float
lastStartTime float

Méthodes publiques

Méthode Description
Bit ( int a, int b ) : int
ClipPoly ( float vIn, int n, float vOut, float pnx, float pnz, float pd ) : int
ClipPolygon ( Int3 vIn, int n, Int3 vOut, int multi, int offset, int axis ) : int
ClipPolygon ( Vector3 vIn, int n, Vector3 vOut, float multi, float offset, int axis ) : int
ClipPolygon ( float vIn, int n, float vOut, float multi, float offset, int axis ) : int
ClipPolygonY ( float vIn, int n, float vOut, float multi, float offset, int axis ) : int
CopyVector ( float a, int i, Vector3 v ) : void
EndTimer ( string label ) : void
EndTimerAdditive ( string label, bool log ) : void
GetColor ( int i ) : Color
IntToColor ( int i, float a ) : Color
IntersectXAxis ( Vector3 &intersection, Vector3 start1, Vector3 dir1, float x ) : bool
IntersectZAxis ( Vector3 &intersection, Vector3 start1, Vector3 dir1, float z ) : bool
Max ( float a, float b, float c ) : float
Max ( float a, float b, float c, float d ) : float
Max ( int a, int b, int c, int d ) : int
Min ( float a, float b, float c ) : float
Min ( float a, float b, float c, float d ) : float
Min ( int a, int b, int c, int d ) : int
StartTimer ( ) : void
StartTimerAdditive ( bool reset ) : void
ToMillis ( float v ) : string
TriangleArea ( Vector3 a, Vector3 b, Vector3 c ) : float
TriangleArea2 ( Vector3 a, Vector3 b, Vector3 c ) : float

Method Details

Bit() public static méthode

public static Bit ( int a, int b ) : int
a int
b int
Résultat int

ClipPoly() public static méthode

public static ClipPoly ( float vIn, int n, float vOut, float pnx, float pnz, float pd ) : int
vIn float
n int
vOut float
pnx float
pnz float
pd float
Résultat int

ClipPolygon() public static méthode

public static ClipPolygon ( Int3 vIn, int n, Int3 vOut, int multi, int offset, int axis ) : int
vIn Int3
n int
vOut Int3
multi int
offset int
axis int
Résultat int

ClipPolygon() public static méthode

public static ClipPolygon ( Vector3 vIn, int n, Vector3 vOut, float multi, float offset, int axis ) : int
vIn UnityEngine.Vector3
n int
vOut UnityEngine.Vector3
multi float
offset float
axis int
Résultat int

ClipPolygon() public static méthode

public static ClipPolygon ( float vIn, int n, float vOut, float multi, float offset, int axis ) : int
vIn float
n int
vOut float
multi float
offset float
axis int
Résultat int

ClipPolygonY() public static méthode

public static ClipPolygonY ( float vIn, int n, float vOut, float multi, float offset, int axis ) : int
vIn float
n int
vOut float
multi float
offset float
axis int
Résultat int

CopyVector() public static méthode

public static CopyVector ( float a, int i, Vector3 v ) : void
a float
i int
v UnityEngine.Vector3
Résultat void

EndTimer() public static méthode

public static EndTimer ( string label ) : void
label string
Résultat void

EndTimerAdditive() public static méthode

public static EndTimerAdditive ( string label, bool log ) : void
label string
log bool
Résultat void

GetColor() public static méthode

public static GetColor ( int i ) : Color
i int
Résultat UnityEngine.Color

IntToColor() public static méthode

public static IntToColor ( int i, float a ) : Color
i int
a float
Résultat UnityEngine.Color

IntersectXAxis() public static méthode

public static IntersectXAxis ( Vector3 &intersection, Vector3 start1, Vector3 dir1, float x ) : bool
intersection UnityEngine.Vector3
start1 UnityEngine.Vector3
dir1 UnityEngine.Vector3
x float
Résultat bool

IntersectZAxis() public static méthode

public static IntersectZAxis ( Vector3 &intersection, Vector3 start1, Vector3 dir1, float z ) : bool
intersection UnityEngine.Vector3
start1 UnityEngine.Vector3
dir1 UnityEngine.Vector3
z float
Résultat bool

Max() public static méthode

public static Max ( float a, float b, float c ) : float
a float
b float
c float
Résultat float

Max() public static méthode

public static Max ( float a, float b, float c, float d ) : float
a float
b float
c float
d float
Résultat float

Max() public static méthode

public static Max ( int a, int b, int c, int d ) : int
a int
b int
c int
d int
Résultat int

Min() public static méthode

public static Min ( float a, float b, float c ) : float
a float
b float
c float
Résultat float

Min() public static méthode

public static Min ( float a, float b, float c, float d ) : float
a float
b float
c float
d float
Résultat float

Min() public static méthode

public static Min ( int a, int b, int c, int d ) : int
a int
b int
c int
d int
Résultat int

StartTimer() public static méthode

public static StartTimer ( ) : void
Résultat void

StartTimerAdditive() public static méthode

public static StartTimerAdditive ( bool reset ) : void
reset bool
Résultat void

ToMillis() public static méthode

public static ToMillis ( float v ) : string
v float
Résultat string

TriangleArea() public static méthode

public static TriangleArea ( Vector3 a, Vector3 b, Vector3 c ) : float
a UnityEngine.Vector3
b UnityEngine.Vector3
c UnityEngine.Vector3
Résultat float

TriangleArea2() public static méthode

public static TriangleArea2 ( Vector3 a, Vector3 b, Vector3 c ) : float
a UnityEngine.Vector3
b UnityEngine.Vector3
c UnityEngine.Vector3
Résultat float

Property Details

additiveTimer public_oe static_oe property

public static float additiveTimer
Résultat float

colors public_oe static_oe property

public static Color[],UnityEngine colors
Résultat UnityEngine.Color[]

lastAdditiveTimerStart public_oe static_oe property

public static float lastAdditiveTimerStart
Résultat float

lastStartTime public_oe static_oe property

public static float lastStartTime
Résultat float