Click or drag to resize
Ab4d.SharpEngine logo

PolyLineNode(Vector3, BoundingBox, Color3, Single, String) Constructor

Constructor

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public PolyLineNode(
	Vector3[] positions,
	BoundingBox positionsBoundingBox,
	Color3 lineColor,
	float lineThickness,
	string? name = null
)

Parameters

positions  Vector3
array of Vector3 that define the 3D positions
positionsBoundingBox  BoundingBox
BoundingBox of the positions. Specifying this value prevents calculating the bounding box from positions.
lineColor  Color3
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.PolyLineNode.#ctor(System.Numerics.Vector3[],Ab4d.SharpEngine.Common.BoundingBox,Ab4d.SharpEngine.Common.Color3,System.Single,System.String)"]

See Also