Class SplineMeshHandle<T>
Creates a cylinder mesh along a spline.
Implements
Inherited Members
Namespace: UnityEditor.Splines
Assembly: solution.dll
Syntax
public class SplineMeshHandle<T> : IDisposable where T : ISpline
Type Parameters
Name | Description |
---|---|
T | The type of ISpline. |
Constructors
Name | Description |
---|---|
SplineMeshHandle() | Creates a new mesh handle. This class implements IDisposable to clean up allocated mesh resources. Call Dispose() when you are finished with the instance. |
SplineMeshHandle(Material) | Create a new mesh handle. This class implements IDisposable to clean up allocated mesh resources. Call Dispose() when you are finished with the instance. |
Properties
Name | Description |
---|---|
material | The material to render this mesh with. If null, a default material is used. |
Methods
Name | Description |
---|---|
Dispose() | Destroys the 3D mesh. |
Do(int, T, float, int) | Draws a 3D mesh handle from a spline. |
Do(int, T, float, Color, int) | Draws a 3D mesh handle from a spline. |
Do(T, float, int) | Draws a 3D mesh from a spline. |
Do(T, float, Color, int) | Draws a 3D mesh from a spline. |