Struct BillboardDebugDrawModifier
Causes the modified IDebugDrawer to get rendered facing the given camera
Implements
Namespace: Atlas
Assembly: Atlas.Runtime.dll
Syntax
public struct BillboardDebugDrawModifier : IDebugDrawer
Constructors
| Improve this Doc View SourceBillboardDebugDrawModifier(IDebugDrawer, Vector3)
Constructor, automatically uses UnityEngine.Camera.main for billboarding
Declaration
public BillboardDebugDrawModifier(IDebugDrawer drawer, Vector3 position)
Parameters
Type | Name | Description |
---|---|---|
IDebugDrawer | drawer | The drawer to modify |
UnityEngine.Vector3 | position | The position of the element |
BillboardDebugDrawModifier(IDebugDrawer, Vector3, Camera)
Constructor
Declaration
public BillboardDebugDrawModifier(IDebugDrawer drawer, Vector3 position, Camera camera)
Parameters
Type | Name | Description |
---|---|---|
IDebugDrawer | drawer | The drawer to modify |
UnityEngine.Vector3 | position | The position of the element |
UnityEngine.Camera | camera | The camera to face the element toward |
Properties
| Improve this Doc View SourceColor
Color of the modified element
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Color |
IsFinished
Whether or not the modified element has finished drawing
Declaration
public bool IsFinished { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceDraw()
Draws the modified element
Declaration
public void Draw()