Click or drag to resize
Ab4d.SharpEngine logo

PolyLineNode(Vector3, BoundingBox, IPolyLineMaterial, String) Constructor

Constructor

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public PolyLineNode(
	Vector3[] positions,
	BoundingBox positionsBoundingBox,
	IPolyLineMaterial material,
	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.
material  IPolyLineMaterial
Line material that implements IPolyLineMaterial
name  String  (Optional)
optional name
See Also