Click or drag to resize
AB4D logo

Model3DFactoryCreateSphere(Point3D, Double, Int32, Material) Method

Creates a 3D Sphere model at custom position.

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

Parameters

centerPosition  Point3D
sphere center position
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
See Also