Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created January 1, 2021 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todorok1/3960b08aee4b19e67f8ba5e2de1eb6c0 to your computer and use it in GitHub Desktop.
Save todorok1/3960b08aee4b19e67f8ba5e2de1eb6c0 to your computer and use it in GitHub Desktop.
メッシュのインデックスバッファを変更するサンプル
// 結合したメッシュをセットします。
parentMeshFilter.mesh = new Mesh();
parentMeshFilter.mesh.indexFormat = UnityEngine.Rendering.IndexFormat.UInt32;
parentMeshFilter.mesh.CombineMeshes(combine);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment