C# 클래스 HMesh, UnityUtils

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

공개 메소드들

메소드 설명
Build ( Mesh mesh ) : void
Build ( Mesh mesh, Matrix4x4 transform ) : void
Clear ( ) : void
Copy ( ) : HMesh,
CreateFace ( ) : Face,
CreateHalfedge ( ) : Halfedge,
CreateTestMesh ( ) : HMesh,
CreateTestMeshQuad ( ) : HMesh,
CreateTestMeshTriangle ( ) : HMesh,
CreateTriangle ( Vector3 p1, Vector3 p2, Vector3 p3 ) : Face,
CreateVertex ( ) : Vertex,
CreateVertex ( Vector3 p ) : Vertex,
Destroy ( Face, face ) : bool
Destroy ( Halfedge, halfedge ) : bool
Destroy ( Vertex, vertex ) : bool
Export ( ) : Mesh
GetFaces ( ) : HashSet
GetHalfedges ( ) : HashSet
GetVertices ( ) : HashSet
HMesh ( ) : System.Collections
IsValid ( ) : bool

비공개 메소드들

메소드 설명
EdgeKey ( int vertex1, int vertex2 ) : uint

메소드 상세

Build() 공개 메소드

public Build ( Mesh mesh ) : void
mesh Mesh
리턴 void

Build() 공개 메소드

public Build ( Mesh mesh, Matrix4x4 transform ) : void
mesh Mesh
transform Matrix4x4
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Copy() 공개 메소드

public Copy ( ) : HMesh,
리턴 HMesh,

CreateFace() 공개 메소드

public CreateFace ( ) : Face,
리턴 Face,

CreateHalfedge() 공개 메소드

public CreateHalfedge ( ) : Halfedge,
리턴 Halfedge,

CreateTestMesh() 공개 정적인 메소드

public static CreateTestMesh ( ) : HMesh,
리턴 HMesh,

CreateTestMeshQuad() 공개 정적인 메소드

public static CreateTestMeshQuad ( ) : HMesh,
리턴 HMesh,

CreateTestMeshTriangle() 공개 정적인 메소드

public static CreateTestMeshTriangle ( ) : HMesh,
리턴 HMesh,

CreateTriangle() 공개 메소드

public CreateTriangle ( Vector3 p1, Vector3 p2, Vector3 p3 ) : Face,
p1 Vector3
p2 Vector3
p3 Vector3
리턴 Face,

CreateVertex() 공개 메소드

public CreateVertex ( ) : Vertex,
리턴 Vertex,

CreateVertex() 공개 메소드

public CreateVertex ( Vector3 p ) : Vertex,
p Vector3
리턴 Vertex,

Destroy() 공개 메소드

public Destroy ( Face, face ) : bool
face Face,
리턴 bool

Destroy() 공개 메소드

public Destroy ( Halfedge, halfedge ) : bool
halfedge Halfedge,
리턴 bool

Destroy() 공개 메소드

public Destroy ( Vertex, vertex ) : bool
vertex Vertex,
리턴 bool

Export() 공개 메소드

public Export ( ) : Mesh
리턴 Mesh

GetFaces() 공개 메소드

public GetFaces ( ) : HashSet
리턴 HashSet

GetHalfedges() 공개 메소드

public GetHalfedges ( ) : HashSet
리턴 HashSet

GetVertices() 공개 메소드

public GetVertices ( ) : HashSet
리턴 HashSet

HMesh() 공개 메소드

public HMesh ( ) : System.Collections
리턴 System.Collections

IsValid() 공개 메소드

public IsValid ( ) : bool
리턴 bool