Curve | |
The CurveLineNode type exposes the following members.
| Name | Description | |
|---|---|---|
| AngleThreshold | Angle threshold in degrees. Lower values produce more accurate curve. This property is used when GenerationAlgorithm is set to AngleBased. Default value is 5. | |
| ControlPoints | Control points of the curve. When positions in the array are changed, call the UpdatePositions method to update the mesh. To set both control points and weights at once, use the SetControlPointsAndWeights(Vector3, Single) method. | |
| CurveScale | CurveScale is used for CurveThroughPoints and defines the curvature of the curve. Default value is 0.25. | |
| CurveType | Type of the curve. Default value is CurveTypes.Undefined (linear line segments). | |
| GenerationAlgorithm | Gets or sets the algorithm used to generate the curve. Default value is FixedPositionsPerSegment. | |
| MaxSubdivisionsCount | maximum number of recursive subdivisions per segment. This property is used when GenerationAlgorithm is set to AngleBased. Default value is 6 that produces at max 64 positions per segment. | |
| MinSegmentLength | Minimum segment length. Lower values produce more accurate curve. This property is used when GenerationAlgorithm is set to AngleBased. Default value is 2. | |
| PositionsPerSegment | Number of generated positions per each curve segment. The higher the value, the smoother the curve. This property is used when GenerationAlgorithm is set to FixedPositionsPerSegment. Default value is 30. | |
| Weights | Weights corresponding to control points. Used only with NURBS curve type. When weights in the array are changed, call the UpdatePositions method to update the mesh. To set both control points and weights at once, use the SetControlPointsAndWeights(Vector3, Single) method. |