 |
MultiLineNode(Vector3, Boolean, BoundingBox, Color4, Single, String) Constructor |
Constructor
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic MultiLineNode(
Vector3[] positions,
bool isLineStrip,
BoundingBox positionsBoundingBox,
Color4 lineColor,
float lineThickness,
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.
- lineColor Color4
- line color as Color4 (not alpha pre-multiplied)
- 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.MultiLineNode.#ctor(System.Numerics.Vector3[],System.Boolean,Ab4d.SharpEngine.Common.BoundingBox,Ab4d.SharpEngine.Common.Color4,System.Single,System.String)"]
See Also