Click or drag to resize
Ab4d.SharpEngine logo

CurveLineNode Properties

The CurveLineNode type exposes the following members.

Properties
 NameDescription
Public propertyAngleThreshold Angle threshold in degrees. Lower values produce more accurate curve. This property is used when GenerationAlgorithm is set to AngleBased. Default value is 5.
Public propertyControlPoints 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.
Public propertyCurveScale CurveScale is used for CurveThroughPoints and defines the curvature of the curve. Default value is 0.25.
Public propertyCurveType Type of the curve. Default value is CurveTypes.Undefined (linear line segments).
Public propertyGenerationAlgorithm Gets or sets the algorithm used to generate the curve. Default value is FixedPositionsPerSegment.
Public propertyMaxSubdivisionsCount 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.
Public propertyMinSegmentLength Minimum segment length. Lower values produce more accurate curve. This property is used when GenerationAlgorithm is set to AngleBased. Default value is 2.
Public propertyPositionsPerSegment 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.
Public propertyWeights 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.
Top
See Also