Click or drag to resize
Ab4d.SharpEngine logo

IcosphereModelNodeSubdivisions Property

Gets or sets the number of times the initial (12 positions, 20 triangles) Icosphere is subdivided. This value must be between 0 and 8. Default value is 3 that creates a sphere with 642 positions and 1280 triangles.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public int Subdivisions { get; set; }

Property Value

Int32
Remarks

Gets or sets the number of times a subdivision of the initial (12 positions, 20 triangles) Icosphere is subdivided. This value must be between 0 and 8.

Default value is 3 that creates a sphere with 642 positions and 1280 triangles.

Some examples: 0: 12 positions, 20 triangles
1: 42 positions, 80 triangles
2 162 positions, 320 triangles
3 642 positions, 1280 triangles
4 2562 positions, 5120 triangles).

See Also