Struct GizmosCommandBuffer
Assembly: ProjectDawn.Navigation.dll
Syntax
public struct GizmosCommandBuffer : IDisposable
Constructors
|
Improve this Doc
View Source
GizmosCommandBuffer(Allocator)
Declaration
public GizmosCommandBuffer(Allocator allocator)
Parameters
Type |
Name |
Description |
Allocator |
allocator |
|
Methods
|
Improve this Doc
View Source
Clear()
Declaration
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
DrawAAConvexPolygon(NativeArray<float3>, Color, bool)
Declaration
[Conditional("UNITY_EDITOR")]
public void DrawAAConvexPolygon(NativeArray<float3> vertices, Color color, bool zTest = false)
Parameters
Type |
Name |
Description |
NativeArray<float3> |
vertices |
|
Color |
color |
|
bool |
zTest |
|
|
Improve this Doc
View Source
DrawArrow(float3, float3, float, Color)
Declaration
[Conditional("UNITY_EDITOR")]
public void DrawArrow(float3 origin, float3 direction, float size, Color color)
Parameters
Type |
Name |
Description |
float3 |
origin |
|
float3 |
direction |
|
float |
size |
|
Color |
color |
|
|
Improve this Doc
View Source
DrawField(NativeArray<float>, NativeArray<int>, NativeArray<Color>, int, int, float4x4, Color)
Declaration
[Conditional("UNITY_EDITOR")]
public void DrawField(NativeArray<float> heightField, NativeArray<int> obstacleField, NativeArray<Color> colorField, int width, int height, float4x4 transform, Color color)
Parameters
Type |
Name |
Description |
NativeArray<float> |
heightField |
|
NativeArray<int> |
obstacleField |
|
NativeArray<Color> |
colorField |
|
int |
width |
|
int |
height |
|
float4x4 |
transform |
|
Color |
color |
|
|
Improve this Doc
View Source
DrawLine(float3, float3, Color)
Declaration
[Conditional("UNITY_EDITOR")]
public void DrawLine(float3 from, float3 to, Color color)
Parameters
Type |
Name |
Description |
float3 |
from |
|
float3 |
to |
|
Color |
color |
|
|
Improve this Doc
View Source
DrawNumber(float3, float, Color)
Declaration
[Conditional("UNITY_EDITOR")]
public void DrawNumber(float3 position, float value, Color color)
Parameters
Type |
Name |
Description |
float3 |
position |
|
float |
value |
|
Color |
color |
|
|
Improve this Doc
View Source
DrawQuad(float3, float3, float3, float3, Color, bool)
Declaration
[Conditional("UNITY_EDITOR")]
public void DrawQuad(float3 a, float3 b, float3 c, float3 d, Color color, bool zTest = false)
Parameters
Type |
Name |
Description |
float3 |
a |
|
float3 |
b |
|
float3 |
c |
|
float3 |
d |
|
Color |
color |
|
bool |
zTest |
|
|
Improve this Doc
View Source
DrawSolidArc(float3, float3, float3, float, float, Color)
Declaration
[Conditional("UNITY_EDITOR")]
public void DrawSolidArc(float3 center, float3 normal, float3 from, float angle, float radius, Color color)
Parameters
Type |
Name |
Description |
float3 |
center |
|
float3 |
normal |
|
float3 |
from |
|
float |
angle |
|
float |
radius |
|
Color |
color |
|
|
Improve this Doc
View Source
DrawSolidDisc(float3, float3, float, Color)
Declaration
[Conditional("UNITY_EDITOR")]
public void DrawSolidDisc(float3 center, float3 normal, float radius, Color color)
Parameters
Type |
Name |
Description |
float3 |
center |
|
float3 |
normal |
|
float |
radius |
|
Color |
color |
|
|
Improve this Doc
View Source
DrawWireArc(float3, float3, float3, float, float, Color)
Declaration
[Conditional("UNITY_EDITOR")]
public void DrawWireArc(float3 center, float3 normal, float3 from, float angle, float radius, Color color)
Parameters
Type |
Name |
Description |
float3 |
center |
|
float3 |
normal |
|
float3 |
from |
|
float |
angle |
|
float |
radius |
|
Color |
color |
|
|
Improve this Doc
View Source
DrawWireBox(float3, float3, Color)
Declaration
[Conditional("UNITY_EDITOR")]
public void DrawWireBox(float3 position, float3 size, Color color)
Parameters
Type |
Name |
Description |
float3 |
position |
|
float3 |
size |
|
Color |
color |
|
|
Improve this Doc
View Source
DrawWireSphere(float3, float, Color)
Declaration
[Conditional("UNITY_EDITOR")]
public void DrawWireSphere(float3 position, float radius, Color color)
Parameters
Type |
Name |
Description |
float3 |
position |
|
float |
radius |
|
Color |
color |
|
|
Improve this Doc
View Source
Execute()
Declaration
Implements