 |
CurveLineNode(CurveLineNodeCurveTypes, Vector3, Int32, Color4, Single, String) Constructor |
Constructor
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic CurveLineNode(
CurveLineNodeCurveTypes curveType,
Vector3[] controlPoints,
int positionsPerSegment,
Color4 lineColor,
float lineThickness,
string? name = null
)
Parameters
- curveType CurveLineNodeCurveTypes
- type of the curve (as CurveLineNodeCurveTypes)
- controlPoints Vector3
- Control points of the curve
- positionsPerSegment Int32
- Number of generated positions per each curve segment. The higher the value, the smoother the curve.
- lineColor Color4
- line color as Color3
- lineThickness Single
- line thickness in screen-space (in pixels divided by dpi scale; e.g. lineThickness: 10 and dpiScale: 1.5 will produce actual thickness with 15 pixels)
- name String (Optional)
- optional name
See Also