Screen |
public class ScreenSpaceLineMesh : MeshBase, IDynamicVertexBufferCreator
The ScreenSpaceLineMesh type exposes the following members.
Name | Description | |
---|---|---|
ScreenSpaceLineMesh(Vector3, Boolean, String) | Constructor | |
ScreenSpaceLineMesh(Vector3, Boolean, BoundingBox, String) | Constructor |
Name | Description | |
---|---|---|
CreateDynamicVertexBuffer | Gets or sets a Boolean that specifies if the vertex buffer is created as a dynamic buffer. This can provide slightly better performance for cases when vertex buffer is updated very often. Default value is false. | |
IsLineStrip | If true than the Positions define connected lines, if false than lines are not connected and each line is defined by two positions. | |
LineIndices | When set to an array of line indices, then an index buffer is created from the array. This can be used to render multiple poly-lines with one draw call. This array must be set before this mesh is initialized. | |
Positions | Positions array that form 3D lines. |
Name | Description | |
---|---|---|
RecreateMesh | Creates the VertexBuffers and IndexBuffer from the specified Positions and LineIndices. | |
RecreateMesh(Boolean, Boolean) | Creates the VertexBuffers and IndexBuffer from the specified Positions and LineIndices. | |
RecreateMesh(Boolean, Boolean, BoundingBox) | Creates the VertexBuffers and IndexBuffer from the specified Positions and LineIndices. |