mesh

게임 엔진/Unity

[Unity] [Example] Mesh

Mesh Unity Mesh 관련 예제이다. MeshDataPrinter.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class MeshDataPrinter : MonoBehaviour { [SerializeField] private MeshFilter _targetMesh; // Start is called before the first frame update void Start() { PrintMeshData(_targetMesh.mesh); } public static void PrintMeshData(Mesh mesh) { Debug.Log("vertices"); foreach (va..

AlgorFati
'mesh' 태그의 글 목록