 |
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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic 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
[Missing <param name="arrowRadius"/> documentation for "M:Ab4d.SharpEngine.SceneNodes.ArrowModelNode.#ctor(System.Numerics.Vector3,System.Numerics.Vector3,System.Single,System.Single,System.Single,System.Int32,System.Boolean,System.String)"]
- 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.
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.ArrowModelNode.#ctor(System.Numerics.Vector3,System.Numerics.Vector3,System.Single,System.Single,System.Single,System.Int32,System.Boolean,System.String)"]
See Also