|  | 
| MeshFactoryCreateTubeLineMesh Method | 
            Create a 3D line mesh from start to end point.
            
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
 Syntax
Syntaxpublic static StandardMesh CreateTubeLineMesh(
	Vector3 startPosition,
	Vector3 endPosition,
	float radius,
	int segments = 30,
	bool generateTextureCoordinates = true,
	bool isStartPositionClosed = true,
	bool isEndPositionClosed = true,
	string? name = null
)
Parameters
- startPosition  Vector3
- Start position of the line.
- endPosition  Vector3
- End position of the line.
- radius  Single
- Radius of the line.
- segments  Int32  (Optional)
- Number of segments comprising the line's side surface.
- generateTextureCoordinates  Boolean  (Optional)
- Generate texture coordinates.
- isStartPositionClosed  Boolean  (Optional)
- Flag indicating whether the start position is closed (filled circle shape).
- isEndPositionClosed  Boolean  (Optional)
- Flag indicating whether the start position is closed (filled circle shape).
- name  String  (Optional)
- Mesh name (for debug purposes).
Return Value
StandardMeshStandardMesh with filled vertices array and index array.
 See Also
See Also