private MeshFilter filter | The MeshFilter that holds the generated mesh. |
private float halfWidthBottom | Half the strip's width at its base. |
private float halfWidthTop | Half the strip's width at its top. |
private float height | Height of the strip above the spline. |
private bool isGeneratingBottom | If set, also builds the bottom faces. |
private bool isUsingSmartSegmentCount | If set, the segment count per curve is worked out from how much it bends instead of using segments. |
private float normalOffset | Sideways offset of the strip from the spline. |
private Vector3 normalUp | Up direction used to build the strip's cross section. |
private int segments | Number of segments along the whole spline; overwritten when smart segment count is on. |
private float smartSegmentMinimum | Smart segment count: minimum segments per curve. |
private float smartSegmentRatioMultiplier | Smart segment count: extra segments per unit of curve length over straight-line length. |
private float uvBottomEnd | V coordinate for the bottom edge on one side. |
private float uvBottomStart | V coordinate for the bottom edge on the other side. |
private float uvStretch | World distance covered by one unit of U along the strip. |
private float uvTopEnd | V coordinate for the top edge on one side. |
private float uvTopStart | V coordinate for the top edge on the other side. |
private float yOffset | Vertical offset of the whole strip along normalUp. |