Method GetVerticesCount
- Namespace
- Pinwheel.Griffin.SplineTool
- Assembly
- Pinwheel.Polaris.Runtime.dll
GetVerticesCount(int, float, float)
Retrieve the exact number of vertex for the spline mesh.
public int GetVerticesCount(int curviness, float width, float falloffWidth)
Parameters
curviness
intNumber of 'quads' for each spline segment. Higher value means more accurate spline shape.
width
floatWidth of the inner part of the spline, this region has alpha of 1.
falloffWidth
floatWidth of the outter part of the spline, this region has alpha fades from 1 to 0.
Returns
- int
Number of vertex.