Click or drag to resize
AB4D logo

SphereMesh3D(Point3D, Double, Int32, Boolean) Constructor

Constructor

Namespace: Ab3d.Meshes
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public SphereMesh3D(
	Point3D centerPosition,
	double radius,
	int segments,
	bool generateTextureCoordinates
)

Parameters

centerPosition  Point3D
center of the sphere
radius  Double
radius of the sphere
segments  Int32
number of segments that define the sphere
generateTextureCoordinates  Boolean
if true than texture coordinates are also generated (if false than slightly optimized sphere with less positions can be created).
See Also