Class Icosphere
Creates a Icosphere geometry straight from the code.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Core.Primitives
Assembly: Fusee.Engine.Core.dll
Syntax
public class Icosphere : Mesh, IComponent, IManagedMesh, IDisposable
Constructors
Icosphere(Int32)
Initializes a new instance of the Icosphere class. All Vertices of the Icosphere are lying on the unit sphere.
Declaration
public Icosphere(int subdivLevel)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | subdivLevel | Defines the number subdivisions and therefor the number of triangles and the smoothness of the sphere. |
Implements
System.IDisposable