C# 클래스 PersistentTrails.MeshFactory

파일 보기 프로젝트 열기: GrJo/KSPPersistentTrails 1 사용 예제들

공개 메소드들

메소드 설명
createCone ( float radius, float height, int approx ) : Mesh
createSphere ( ) : Mesh
makeMeshGameObject ( Mesh &mesh, string name ) : GameObject

비공개 메소드들

메소드 설명
getOrCreateMiddlePoint ( int p1, int p2, List &vertices, int>.Dictionary &midPointCache ) : int

메소드 상세

createCone() 공개 정적인 메소드

public static createCone ( float radius, float height, int approx ) : Mesh
radius float
height float
approx int
리턴 UnityEngine.Mesh

createSphere() 공개 정적인 메소드

public static createSphere ( ) : Mesh
리턴 UnityEngine.Mesh

makeMeshGameObject() 공개 정적인 메소드

public static makeMeshGameObject ( Mesh &mesh, string name ) : GameObject
mesh UnityEngine.Mesh
name string
리턴 UnityEngine.GameObject