Helper methods for drawing gizmos and debug lines.
More...
Helper methods for drawing gizmos and debug lines.
|
void | Bezier (Vector3 a, Vector3 b, Color color) |
|
void | CircleXZ (Vector3 center, float radius, Color color, float startAngle=0f, float endAngle=2 *Mathf.PI, int steps=40) |
|
void | CrossXZ (Vector3 position, Color color, float size=1) |
|
void | Cylinder (Vector3 position, Vector3 up, float height, float radius, Color color) |
|
void | Line (Vector3 a, Vector3 b, Color color) |
|
void Bezier |
( |
Vector3 |
a, |
|
|
Vector3 |
b, |
|
|
Color |
color |
|
) |
| |
void CircleXZ |
( |
Vector3 |
center, |
|
|
float |
radius, |
|
|
Color |
color, |
|
|
float |
startAngle = 0f , |
|
|
float |
endAngle = 2*Mathf.PI , |
|
|
int |
steps = 40 |
|
) |
| |
void CrossXZ |
( |
Vector3 |
position, |
|
|
Color |
color, |
|
|
float |
size = 1 |
|
) |
| |
void Cylinder |
( |
Vector3 |
position, |
|
|
Vector3 |
up, |
|
|
float |
height, |
|
|
float |
radius, |
|
|
Color |
color |
|
) |
| |
void Line |
( |
Vector3 |
a, |
|
|
Vector3 |
b, |
|
|
Color |
color |
|
) |
| |
void SetColor |
( |
Color |
color | ) |
|
|
private |
Matrix4x4 matrix = Matrix4x4.identity |
|
private |
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/Core/Misc/Draw.cs