 |
MultiLineNode(Vector3, Boolean, BoundingBox, Material, String) Constructor |
Constructor
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic MultiLineNode(
Vector3[] positions,
bool isLineStrip,
BoundingBox positionsBoundingBox,
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.
- positionsBoundingBox BoundingBox
- BoundingBox of the positions. Specifying this value prevents calculating the bounding box from positions.
- material Material
- Line material
- name String (Optional)
- optional name
See Also