 |
CurveLineNode(CurveLineNodeCurveTypes, Vector3, Single, Int32, Color4, Single, String) Constructor |
Constructor
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic CurveLineNode(
CurveLineNodeCurveTypes curveType,
Vector3[] controlPoints,
float[] weights,
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
- weights Single
- Weights corresponding to control points. Used only with NURBS curve type.
- 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
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.CurveLineNode.#ctor(Ab4d.SharpEngine.SceneNodes.CurveLineNode.CurveTypes,System.Numerics.Vector3[],System.Single[],System.Int32,Ab4d.SharpEngine.Common.Color4,System.Single,System.String)"]
See Also