 |
CylinderModelNode Class |
An upright 3D cylinder model.
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntaxpublic class CylinderModelNode : ModelNode
The CylinderModelNode type exposes the following members.
Constructors | Name | Description |
---|
 | CylinderModelNode |
Create an upright 3D cylinder.
|
 | CylinderModelNode(String) |
Create an upright 3D cylinder.
|
 | CylinderModelNode(Material, String) |
Create an upright 3D cylinder.
|
 | CylinderModelNode(Vector3, Single, Single, Int32, Boolean, String) |
Create an upright 3D cylinder.
|
 | CylinderModelNode(Vector3, Single, Single, Int32, Boolean, Material, String) |
Create an upright 3D cylinder with specified material.
|
Top
Properties | Name | Description |
---|
 | BottomCenterPosition |
Position of the bottom-center point.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
 | Height |
Vertical size of the cylinder.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
 | IsSmooth |
If set, side surface normals are computed so that the surface looks smooth. Otherwise, each segment of the
side surface will appear pronounced and flat. Default value is true.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
 | Radius |
Radius of the cylinder.
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.
|
Top
Methods | 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) |
Top
See Also