|
TubeLineModelNode(Vector3, Vector3, Single, Int32, Boolean, Boolean, Boolean, Material, String) Constructor |
Create a 3D line.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public TubeLineModelNode(
Vector3 startPosition,
Vector3 endPosition,
float radius,
int segments,
bool generateTextureCoordinates,
bool isStartPositionClosed,
bool isEndPositionClosed,
Material material,
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
- Number of segments comprising the line's side surface.
- generateTextureCoordinates Boolean
- Generate texture coordinates.
- isStartPositionClosed Boolean
- Flag indicating whether the start position is closed (filled circle shape).
- isEndPositionClosed Boolean
- Flag indicating whether the start position is closed (filled circle shape).
- material Material
- Mesh material.
- name String (Optional)
- Optional node name.
See Also