Click or drag to resize
AB4D logo

IcosphereMesh3D(Point3D, Double, Int32, Boolean) Constructor

Constructor

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

Parameters

centerPosition  Point3D
center of the sphere
radius  Double
radius of the sphere
subdivisions  Int32
Number of subdivisions on top of the most basic icosphere. The number of faces quadruple with every subdivision. This value must be between 0 and 8.
generateTextureCoordinates  Boolean
if true then texture coordinates are also generated (this generates more positions because some positions need to be duplicated so they can have different texture coordinates).
See Also