Version: 2022.3
言語: 日本語
public static void DrawWireMesh (Mesh mesh, Vector3 position= Vector3.zero, Quaternion rotation= Quaternion.identity, Vector3 scale= Vector3.one);
public static void DrawWireMesh (Mesh mesh, int submeshIndex, Vector3 position= Vector3.zero, Quaternion rotation= Quaternion.identity, Vector3 scale= Vector3.one);

パラメーター

mesh ギズモとして描画するメッシュ
position 位置 (デフォルトは 0)
rotation 回転 (デフォルトでは回転なし)
scale スケール (デフォルトではスケールはありません)
submeshIndex 描画するサブメッシュ(デフォルトは -1 、全体のメッシュを描画します)

説明

ワイヤフレームメッシュを描画します

関連項目: DrawMesh.