|
ConeModelNode Class |
An upright 3D cone model.
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public class ConeModelNode : ModelNode
The ConeModelNode type exposes the following members.
Constructors | Name | Description |
---|
| ConeModelNode |
Create an upright 3D cone.
|
| ConeModelNode(String) |
Create an upright 3D cone.
|
| ConeModelNode(Material, String) |
Create an upright 3D cone.
|
| ConeModelNode(Vector3, Single, Single, Single, Int32, Boolean, String) |
Create an upright 3D cone.
|
| ConeModelNode(Vector3, Single, Single, Single, Int32, Boolean, Material, String) |
Create an upright 3D cone with specified material.
|
TopProperties | 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.
|
| BottomRadius |
Radius of the bottom circle.
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 cone.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| IsSmooth |
When true, then 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.
|
| 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.
|
| TopRadius |
Radius of the top circle.
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