Click or drag to resize
Ab4d.SharpEngine logo

IcosphereModelNode Properties

The IcosphereModelNode type exposes the following members.

Properties
 NameDescription
Public propertyCenterPosition Gets or sets a center position of the sphere.
Public propertyCreateTextureCoordinates Get or set a Boolean that specify if texture coordinates are also generated (this requires duplicating some positions and using a slower code path). When false, all TextureCoordinate values are set to (0, 0). Default value is true.
Public propertyRadius Gets or sets a radius of the sphere. By default set to 1.
Public propertySubdivisions 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.
Public propertyUseSharedIcosphereMesh Gets or sets a Boolean that specifies is a shared icosphere Mesh is used and the final models is created by using a mesh transformation that changes the shared mesh based on CenterPosition and Radius. When false, then a new mesh instance is created that has the center and size that are specified for this icosphere model. Default value is true.
Top
See Also