Table of Contents

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 int

Number of 'quads' for each spline segment. Higher value means more accurate spline shape.

width float

Width of the inner part of the spline, this region has alpha of 1.

falloffWidth float

Width of the outter part of the spline, this region has alpha fades from 1 to 0.

Returns

int

Number of vertex.