 |
TubeLineModelNode(Vector3, Vector3, Single, Int32, Boolean, Boolean, Boolean, String) Constructor |
Create a 3D line.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic TubeLineModelNode(
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)
- Optional node name.
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.TubeLineModelNode.#ctor(System.Numerics.Vector3,System.Numerics.Vector3,System.Single,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.String)"]
See Also