 |
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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic 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.
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,Ab4d.SharpEngine.Materials.Material,System.String)"]
See Also