|
ArrowModelNode(Vector3, Vector3, Single, Single, Single, Int32, Boolean, Material, String) Constructor |
Create a 3D arrow model with parametrized arrow tip and specified material.
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,
int segments,
bool generateTextureCoordinates,
Material material,
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
- The radius of the arrow's tip.
- arrowAngle Single
- The slope (angle) of the arrow's tip. Determines tip length along the body direction.
- segments Int32
- Number of segments comprising the circles and the side surface.
- generateTextureCoordinates Boolean
- Generate texture coordinates for the mesh.
- material Material
- Mesh material.
- name String (Optional)
- Optional node name.
See Also