유니티 메시 클래스(Mesh) 레퍼런스 모음

반응형

유니티 메시 클래스(Mesh) 레퍼런스 모음

메시 클래스
mesh클래스 메시를 생성하거나 수정할수있는 클래스정점과 다수의 삼각형 배열을 포함합니다.

Mesh.vertices
https://docs.unity3d.com/ScriptReference/Mesh-vertices.html

Mesh.triangles
https://docs.unity3d.com/ScriptReference/Mesh-triangles.html

Mesh.GetTriangles
https://docs.unity3d.com/ScriptReference/Mesh.GetTriangles.html

Mesh.GetIndices
https://docs.unity3d.com/ScriptReference/Mesh.GetIndices.html

Mesh.GetVertices
https://docs.unity3d.com/ScriptReference/Mesh.GetVertices.html

submesh
한개의 재질로 표현되는 메시, 맥스에서 재질ID가 1개인 메시는 submeshCount가 1개
https://docs.unity3d.com/ScriptReference/Mesh-subMeshCount.html

반응형

댓글

Designed by JB FACTORY