|
Model3DFactoryCreateCone Method |
Creates a 3D Cone model.
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static GeometryModel3D CreateCone(
Point3D bottomCenterPosition,
double topRadius,
double bottomRadius,
double height,
int segments,
bool isSmooth,
Material material
)
Parameters
- bottomCenterPosition Point3D
- center position of the bottom circle that defines the cone
- topRadius Double
- radius of the top circle that defines the cone
- bottomRadius Double
- radius of the bottom circle that defines the cone
- height Double
- height of the cone
- segments Int32
- number of segments that define the top and bottom circles of the cone
- isSmooth Boolean
- if true the cone is smooth, if false the edges on the cone are sharp
- material Material
- material
Return Value
GeometryModel3D3D Cone model as GeometryModel3D
Remarks See Also