A* Pathfinding Project  3.8.8
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
Utility Class Reference

A* Pro Feature:
This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited
The Pro version can be bought here
More...

Detailed Description

A* Pro Feature:
This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited
The Pro version can be bought here

Static Public Member Functions

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

Static Public Attributes

static float additiveTimer
 
static Color[] colors = new Color[7] { Color.green, Color.blue, Color.red, Color.yellow, Color.cyan, Color.white, Color.black }
 
static float lastAdditiveTimerStart
 
static float lastStartTime
 

Static Private Attributes

static float[] clipPolygonCache = new float[7*3]
 
static int[] clipPolygonIntCache = new int[7*3]
 

Member Function Documentation

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

Member Data Documentation

float additiveTimer
static
float [] clipPolygonCache = new float[7*3]
staticprivate
int [] clipPolygonIntCache = new int[7*3]
staticprivate
Color [] colors = new Color[7] { Color.green, Color.blue, Color.red, Color.yellow, Color.cyan, Color.white, Color.black }
static
float lastAdditiveTimerStart
static
float lastStartTime
static

The documentation for this class was generated from the following file: