A* Pathfinding Project
4.3.7
The A* Pathfinding Project for Unity 3D
|
Classes | |
struct | BoxData |
struct | Builder |
struct | CircleData |
struct | LineData |
struct | ScopeColor |
struct | ScopeMatrix |
Public Types | |
enum | Command { PushColor, PushColorInline, PopColor, PushMatrix, PushSetMatrix, PopMatrix, Line, Circle, Box } |
Public Member Functions | |
CommandBuilder (RetainedGizmos gizmos, Hasher hasher, RedrawScope redrawScope, bool isGizmos) | |
unsafe void | Add< T > (T value) |
void | Bezier (float3 a, float3 b, Color color) |
void | Box (float3 center, float3 size) |
void | CircleXZ (float3 center, float radius, float startAngle=0f, float endAngle=2 *Mathf.PI) |
void | CircleXZ (float3 center, float radius, Color color, float startAngle=0f, float endAngle=2 *Mathf.PI) |
void | CrossXZ (float3 position, Color color, float size=1) |
void | Cylinder (float3 bottom, float3 top, float radius, Color color) |
void | Cylinder (float3 position, float3 up, float height, float radius, Color color) |
void | DiscardAndDispose () |
void | Dispose () |
ScopeMatrix | InLocalSpace (Transform transform) |
void | Line (float3 a, float3 b) |
void | Line (float3 a, float3 b, Color color) |
void | Mesh (Vector3[] vertices, List< int > triangles, Color[] colors) |
void | Polyline (List< Vector3 > points, Color color, bool cycle=false) |
void | PopColor () |
void | PopMatrix () |
void | PushColor (Color color) |
void | PushMatrix (Matrix4x4 matrix) |
void | PushSetMatrix (Matrix4x4 matrix) |
void | Ray (float3 origin, float3 direction) |
void | Ray (float3 origin, float3 direction, Color color) |
void | Ray (Ray ray) |
void | Ray (Ray ray, Color color) |
void | Reserve (int additionalSpace) |
void | Reserve< A > () |
void | Reserve< A, B > () |
void | Reserve< A, B, C > () |
void | WireCube (float3 center, float3 size, Color color) |
Draws a wire cube. More... | |
void | WireCube (Bounds bounds, Color color) |
Draws a wire cube. More... | |
ScopeColor | WithColor (Color color) |
ScopeMatrix | WithMatrix (Matrix4x4 matrix) |
Static Public Member Functions | |
static float2 | CameraDepthToPixelSize (Camera camera) |
Helper for determining how large a pixel is at a given depth. More... | |
Public Attributes | |
unsafe UnsafeAppendBuffer * | buffer |
int | dataIndex |
RetainedGizmos | gizmos |
int | threadIndex |
Static Package Functions | |
static void | Build (RetainedGizmos gizmos, Hasher hasher, NativeArray< UnsafeAppendBuffer > buffers, Camera camera, bool isGizmos) |
|
strong |
CommandBuilder | ( | RetainedGizmos | gizmos, |
Hasher | hasher, | ||
RedrawScope | redrawScope, | ||
bool | isGizmos | ||
) |
unsafe void Add< T > | ( | T | value | ) |
T | : | struct |
void Bezier | ( | float3 | a, |
float3 | b, | ||
Color | color | ||
) |
void Box | ( | float3 | center, |
float3 | size | ||
) |
|
staticpackage |
|
static |
Helper for determining how large a pixel is at a given depth.
A a distance D from the camera a pixel corresponds to roughly value.x * D + value.y world units. Where value is the return value from this function.
void CircleXZ | ( | float3 | center, |
float | radius, | ||
float | startAngle = 0f , |
||
float | endAngle = 2 * Mathf.PI |
||
) |
void CircleXZ | ( | float3 | center, |
float | radius, | ||
Color | color, | ||
float | startAngle = 0f , |
||
float | endAngle = 2 * Mathf.PI |
||
) |
void CrossXZ | ( | float3 | position, |
Color | color, | ||
float | size = 1 |
||
) |
void Cylinder | ( | float3 | bottom, |
float3 | top, | ||
float | radius, | ||
Color | color | ||
) |
void Cylinder | ( | float3 | position, |
float3 | up, | ||
float | height, | ||
float | radius, | ||
Color | color | ||
) |
void DiscardAndDispose | ( | ) |
void Dispose | ( | ) |
ScopeMatrix InLocalSpace | ( | Transform | transform | ) |
void Line | ( | float3 | a, |
float3 | b | ||
) |
void Line | ( | float3 | a, |
float3 | b, | ||
Color | color | ||
) |
void Mesh | ( | Vector3 [] | vertices, |
List< int > | triangles, | ||
Color [] | colors | ||
) |
void Polyline | ( | List< Vector3 > | points, |
Color | color, | ||
bool | cycle = false |
||
) |
void PopColor | ( | ) |
void PopMatrix | ( | ) |
void PushColor | ( | Color | color | ) |
void PushMatrix | ( | Matrix4x4 | matrix | ) |
void PushSetMatrix | ( | Matrix4x4 | matrix | ) |
void Ray | ( | float3 | origin, |
float3 | direction | ||
) |
void Ray | ( | float3 | origin, |
float3 | direction, | ||
Color | color | ||
) |
void Ray | ( | Ray | ray | ) |
void Ray | ( | Ray | ray, |
Color | color | ||
) |
void Reserve | ( | int | additionalSpace | ) |
void Reserve< A > | ( | ) |
A | : | struct |
void Reserve< A, B > | ( | ) |
A | : | struct | |
B | : | struct |
void Reserve< A, B, C > | ( | ) |
A | : | struct | |
B | : | struct | |
C | : | struct |
void WireCube | ( | float3 | center, |
float3 | size, | ||
Color | color | ||
) |
Draws a wire cube.
void WireCube | ( | Bounds | bounds, |
Color | color | ||
) |
Draws a wire cube.
ScopeColor WithColor | ( | Color | color | ) |
ScopeMatrix WithMatrix | ( | Matrix4x4 | matrix | ) |
unsafe UnsafeAppendBuffer* buffer |
int dataIndex |
RetainedGizmos gizmos |
int threadIndex |