Class SplineMesh
Utility methods for creating and working with meshes.
Inherited Members
Namespace: UnityEngine.Splines
Assembly: solution.dll
Syntax
public static class SplineMesh
Methods
Name | Description |
---|---|
Extrude<T>(IReadOnlyList<T>, Mesh, float, int, float, bool, float2) | Extrude a mesh along a list of splines in a tube-like shape. |
Extrude<T>(T, Mesh, float, int, int, bool) | Extrude a mesh along a spline in a tube-like shape. |
Extrude<T>(T, Mesh, float, int, int, bool, float2) | Extrude a mesh along a spline in a tube-like shape. |
Extrude<TSplineType, TVertexType, TIndexType>(TSplineType, NativeArray<TVertexType>, NativeArray<TIndexType>, float, int, int, bool, float2) | Extrude a mesh along a spline in a tube-like shape. |
GetVertexAndIndexCount(int, int, bool, bool, Vector2, out int, out int) | Calculate the vertex and index count required for an extruded mesh. Use this method to allocate attribute and index buffers for use with Extrude. |