|
TubePathModelNode Class |
A 3D object consisting of tubes connecting the path between specified points.
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public class TubePathModelNode : ModelNode
The TubePathModelNode type exposes the following members.
Constructors | Name | Description |
---|
| TubePathModelNode | Create a 3D tube path. |
| TubePathModelNode(String) | Create a 3D tube path. |
| TubePathModelNode(Material, String) | Create a 3D tube path. |
| TubePathModelNode(Vector3, Single, Boolean, Boolean, Int32, Vector2, Boolean, String) |
Create a 3D tube path.
|
| TubePathModelNode(Vector3, Single, Boolean, Boolean, Int32, Vector2, Boolean, Material, String) |
Create a 3D tube path.
|
TopProperties | Name | Description |
---|
| GenerateTextureCoordinates |
Generate texture coordinates. Automatically considered true if pathPositionTextureCoordinates is valid.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| IsPathClosed |
Flag indicating whether the path is closed, i.e., the last point is automatically connected to the first one.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| IsTubeClosed |
Flag indicating whether the tube is closed, i.e., has filled the start and end circle surface).
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| PathPositions |
Array of path positions.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| PathPositionTextureCoordinates |
Optional array of texture coordinates corresponding to given path positions.
If not specified, the texture is evenly divided among path segments.
If fewer texture coordinates are given than there are path points, the last texture coordinate is replicated.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| Radius |
Tube radius.
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 tube's 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.
|
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