Struct CommandBuilder Extends IDisposable
Builder for drawing commands.
You can use this to queue many drawing commands. The commands will be queued for rendering when you call the Dispose method. It is recommended that you use the using statement which automatically calls the Dispose method.
// Create a new CommandBuilder
using (var draw = DrawingManager.GetBuilder()) {
// Use the exact same API as the global Draw class
draw.WireBox(Vector3.zero, Vector3.one);
}
You must call either Dispose or DiscardAndDispose when you are done with this object to avoid memory leaks.
Inner Types
Public Methods
Disposes this command builder after the given job has completed.
Draws all lines until the next PopLineWidth with a given line width in pixels.
Public Static Methods
Constructs an orthonormal basis from a single normal vector.
Public Variables
Can be set to render specifically to these cameras.
Wrapper for drawing in the XY plane.
Wrapper for drawing in the XZ plane.
Public Static Variables
Public Enums
Private/Protected Members
Internal rendering command.