Click or drag to resize
Ab4d.SharpEngine logo

CurveLineNode Class

CurveLineNode class is used to create a 3D curve that is rendered as a single poly-line.
Inheritance Hierarchy
System.Object
  Ab4d.SharpEngine.Core.ComponentBase
    Ab4d.SharpEngine.Core.InitializedSceneComponent
      Ab4d.SharpEngine.SceneNodes.SceneNode
        Ab4d.SharpEngine.SceneNodes.RenderedNode
          Ab4d.SharpEngine.SceneNodes.LineBaseNode
            Ab4d.SharpEngine.SceneNodes.MultiLineBaseNode
              Ab4d.SharpEngine.SceneNodes.PolyLineBaseNode
                Ab4d.SharpEngine.SceneNodes.CurveLineNode

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public class CurveLineNode : PolyLineBaseNode

The CurveLineNode type exposes the following members.

Constructors
 NameDescription
Public methodCurveLineNode(String)Initializes a new instance of the CurveLineNode class
Public methodCurveLineNode(IPolyLineMaterial, String)Initializes a new instance of the CurveLineNode class
Public methodCurveLineNode(Color3, Single, String)Initializes a new instance of the CurveLineNode class
Public methodCurveLineNode(Color4, Single, String)Initializes a new instance of the CurveLineNode class
Public methodCurveLineNode(CurveLineNode.CurveTypes, Vector3[], Int32, Color4, Single, String)Initializes a new instance of the CurveLineNode class
Public methodCurveLineNode(CurveLineNode.CurveTypes, Vector3[], Single[], Int32, Color4, Single, String)Initializes a new instance of the CurveLineNode class
Top
Properties
 NameDescription
Public propertyControlPoints Control points of the curve. When positions in the array are changed, call the UpdatePositions() method to update the mesh.
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 propertyPositionsPerSegment Number of generated positions per each curve segment. The higher the value, the smoother the curve. 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.
Top
Methods
 NameDescription
Public methodUpdatePositions UpdatePositions method must be called when the value in the ControlPoints or Weights are changed.
Top
See Also