Show / Hide Table of Contents

Class Icosphere

Creates a Icosphere geometry straight from the code.

Inheritance
System.Object
SceneComponent
Mesh
Icosphere
Implements
IComponent
IManagedMesh
System.IDisposable
Inherited Members
Mesh.DisposeData
Mesh.SessionUniqueIdentifier
Mesh.UpdatePerFrame
Mesh.ResetIndexLists()
Mesh.Triangles
Mesh.Vertices
Mesh.Normals
Mesh.UVs
Mesh.BoneWeights
Mesh.BoneIndices
Mesh.Tangents
Mesh.BiTangents
Mesh.Colors0
Mesh.Colors1
Mesh.Colors2
Mesh.Flags
Mesh.VerticesSet
Mesh.TangentsSet
Mesh.BiTangentsSet
Mesh.Colors0Set
Mesh.Colors1Set
Mesh.Colors2Set
Mesh.NormalsSet
Mesh.UVsSet
Mesh.BoneWeightsSet
Mesh.BoneIndicesSet
Mesh.TrianglesSet
Mesh.FlagsSet
Mesh.BoundingBox
Mesh.MeshType
Mesh.Dispose()
Mesh.Dispose(Boolean)
SceneComponent.Name
SceneComponent.Active
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

IComponent
IManagedMesh
System.IDisposable

Extension Methods

TangentSpaceCalulator.CalculateTangents(Mesh)
TangentSpaceCalulator.CalculateBiTangents(Mesh)
Generated by DocFX
GitHub Repo
Back to top