Various utilities for voxel rasterization.
More...
Various utilities for voxel rasterization.
- 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 void | CopyVector (float[] a, int i, Vector3 v) |
|
static Color | GetColor (int i) |
|
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 Int3[] | RemoveDuplicateVertices (Int3[] vertices, int[] triangles) |
| Removes duplicate vertices from the array and updates the triangle array.
|
|
static void | Swap (ref int a, ref int b) |
| Swaps the variables a and b.
|
|
|
static Color[] | colors = new Color[7] { Color.green, Color.blue, Color.red, Color.yellow, Color.cyan, Color.white, Color.black } |
|
static void CopyVector |
( |
float[] |
a, |
|
|
int |
i, |
|
|
Vector3 |
v |
|
) |
| |
|
static |
static Color GetColor |
( |
int |
i | ) |
|
|
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 Int3 [] RemoveDuplicateVertices |
( |
Int3[] |
vertices, |
|
|
int[] |
triangles |
|
) |
| |
|
static |
Removes duplicate vertices from the array and updates the triangle array.
- Returns
- The new array of vertices
static void Swap |
( |
ref int |
a, |
|
|
ref int |
b |
|
) |
| |
|
static |
Swaps the variables a and b.
Color [] colors = new Color[7] { Color.green, Color.blue, Color.red, Color.yellow, Color.cyan, Color.white, Color.black } |
|
static |
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/Generators/Utilities/Voxels/VoxelUtility.cs