Click or drag to resize
AB4D logo

Model3DFactoryCreateSphere(Double, Int32, Material) Method

Creates a 3D Sphere model positioned at (0, 0, 0).

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static GeometryModel3D CreateSphere(
	double radius,
	int segments,
	Material material
)

Parameters

radius  Double
radius of the sphere
segments  Int32
number of segments that define the sphere
material  Material
material

Return Value

GeometryModel3D
3D Sphere model as GeometryModel3D
Remarks

To create 3D Sphere at custom position use CreateSphere(Point3D, Double, Int32, Material) method.

See Also