Batching utility designed to render normal-tangent-binormals (otherwise known
as a tangent basis) from a given Mesh. This is similar to SpriteBatch,
where the data is collected per-frame into large batches and rendered in a single
wrap-around dynamic vertex buffer to minimize overhead.
Declaration Syntax
C# |
public sealed class LineBatch
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
LineBatch(Material, Color, Color) |
Creates a new instance of LineBatch. Lines require a Position and
a VertexColor to be rendered.
|
|
Draw(Mesh, IRenderer, Int32) |
Draws a portion of the mesh's tangent basis.
|
|
Equals(Object) |
(Inherited from Object.) |
|
GetHashCode()()()() |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
ScaleRatio |
Gets or sets the scale ratio used to scale the line.
|
|
ToString()()()() |
(Inherited from Object.) |
Inheritance Hierarchy
Object | |
LineBatch |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)