Class Sphere
Creates a simple sphere 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 Sphere : Mesh, IComponent, IManagedMesh, IDisposable
Constructors
Sphere(Int32, Int32)
Initializes a new instance of the Sphere class. The default sphere has a radius of 1 unit.
Declaration
public Sphere(int segments, int rings)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | segments | |
System.Int32 | rings |
Implements
System.IDisposable