Click or drag to resize
Ab4d.SharpEngine logo

MultiLineNode(Vector3, Boolean, Material, String) Constructor

Constructor

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public MultiLineNode(
	Vector3[] positions,
	bool isLineStrip,
	Material material,
	string? name = null
)

Parameters

positions  Vector3
array of Vector3 that define the 3D positions
isLineStrip  Boolean
when true, then the positions define connected lines (the end of first line is the beginning of the second line), if false, then lines are not connected and each line is defined by two positions.
material  Material
Line material
name  String  (Optional)
optional name
See Also