C# Class PersistentTrails.MeshFactory

Afficher le fichier Open project: GrJo/KSPPersistentTrails Class Usage Examples

Méthodes publiques

Méthode Description
createCone ( float radius, float height, int approx ) : Mesh
createSphere ( ) : Mesh
makeMeshGameObject ( Mesh &mesh, string name ) : GameObject

Private Methods

Méthode Description
getOrCreateMiddlePoint ( int p1, int p2, List &vertices, int>.Dictionary &midPointCache ) : int

Method Details

createCone() public static méthode

public static createCone ( float radius, float height, int approx ) : Mesh
radius float
height float
approx int
Résultat UnityEngine.Mesh

createSphere() public static méthode

public static createSphere ( ) : Mesh
Résultat UnityEngine.Mesh

makeMeshGameObject() public static méthode

public static makeMeshGameObject ( Mesh &mesh, string name ) : GameObject
mesh UnityEngine.Mesh
name string
Résultat UnityEngine.GameObject