Click or drag to resize
Ab4d.SharpEngine logo

ConeModelNode Class

An upright 3D cone model.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class ConeModelNode : ModelNode

The ConeModelNode type exposes the following members.

Constructors
 NameDescription
Public methodConeModelNode Create an upright 3D cone.
Public methodConeModelNode(String) Create an upright 3D cone.
Public methodConeModelNode(Material, String) Create an upright 3D cone.
Public methodConeModelNode(Vector3, Single, Single, Single, Int32, Boolean, String) Create an upright 3D cone.
Public methodConeModelNode(Vector3, Single, Single, Single, Int32, Boolean, Material, String) Create an upright 3D cone with specified material.
Top
Properties
 NameDescription
Public propertyBottomCenterPosition 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.
Public propertyBottomRadius 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.
Public propertyHeight 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.
Public propertyIsSmooth 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.
Public propertySegments 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.
Public propertyTopRadius 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.
Top
Methods
 NameDescription
Protected methodUpdateMesh 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