|
ArrowModelNode Class |
A 3D arrow model.
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public class ArrowModelNode : ModelNode
The ArrowModelNode type exposes the following members.
Constructors | Name | Description |
---|
| ArrowModelNode |
Create a 3D arrow model.
|
| ArrowModelNode(String) |
Create a 3D arrow model.
|
| ArrowModelNode(Material, String) |
Create a 3D arrow model.
|
| ArrowModelNode(Vector3, Vector3, Single, String) |
Create a 3D arrow model with parametrized arrow tip.
|
| ArrowModelNode(Vector3, Vector3, Single, Single, Single, Int32, Boolean, String) |
Create a 3D arrow model with parametrized arrow tip.
|
| ArrowModelNode(Vector3, Vector3, Single, Single, Single, Int32, Boolean, Material, String) |
Create a 3D arrow model with parametrized arrow tip and specified material.
|
TopProperties | Name | Description |
---|
| ArrowAngle |
The slope (angle in degrees) of the arrow's tip. Determines tip length along the body direction. Default value is 30.
The angle can be increased when the arrow length increase the MaxArrowLength.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| ArrowRadius |
The radius of the arrow's tip. If the value is not set (is 0), than arrow radius is calculated my multiplying the Radius with 2.5.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| EndPosition |
Arrow's end position (the point at the arrow's tip).
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| GenerateTextureCoordinates |
Gets or sets a Boolean that specified is texture coordinates for the mesh are generated. Default value is false.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| MaxArrowLength |
maximum length of the arrow compared to the line length.
For example, the default value 0.33f means that the max length of the arrow can be 33% of the line length - in this case the arrow angle is adjusted.
|
| Radius |
The radius of the arrow's body. Default value is 1.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| Segments |
Number of segments comprising the circles and the side surface. Default value is 30.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| StartPosition |
Arrow's start position (the center of circle at the arrow's back).
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
TopMethods | Name | Description |
---|
| UpdateMesh |
UpdateMesh method recreates the mesh based on the current object properties.
The method should be overriden in the derived class that provides its own mesh generation.
(Overrides ModelNodeUpdateMesh) |
TopSee Also