|  | 
| MeshFactoryCreateCylinderMesh Method | 
            Create an upright cylinder mesh as a special case of a cone with equal top and bottom radii.
            
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
 Syntax
Syntaxpublic static StandardMesh CreateCylinderMesh(
	Vector3 bottomCenterPosition,
	float radius,
	float height,
	int segments,
	bool isSmooth,
	string? name = null
)
Parameters
- bottomCenterPosition  Vector3
- Position of the bottom-center point.
- radius  Single
- Radius of the cylinder.
- height  Single
- Vertical size of the cylinder.
- segments  Int32
- Number of segments comprising the circles and the side surface.
- isSmooth  Boolean
- 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.
- name  String  (Optional)
- Mesh name (for debug purposes).
Return Value
StandardMeshStandardMesh with filled vertices array and index array.
 See Also
See Also