|
ArrowModelNode(Vector3, Vector3, Single, Single, Single, Int32, Boolean, String) Constructor |
Create a 3D arrow model with parametrized arrow tip.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public ArrowModelNode(
Vector3 startPosition,
Vector3 endPosition,
float radius,
float arrowRadius,
float arrowAngle = 60f,
int segments = 30,
bool generateTextureCoordinates = false,
string? name = null
)
Parameters
- startPosition Vector3
- Arrow's start position (the center of circle at the arrow's back).
- endPosition Vector3
- Arrow's end position (the point at the arrow's tip).
- radius Single
- The radius of the arrow's body.
- arrowRadius Single
- arrowAngle Single (Optional)
- The slope (angle) of the arrow's tip. Determines tip length along the body direction. Default value is 60.
- segments Int32 (Optional)
- Number of segments comprising the circles and the side surface. Default value is 30.
- generateTextureCoordinates Boolean (Optional)
- Generate texture coordinates for the mesh. Default value is false.
- name String (Optional)
- Optional node name.
See Also