Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closemesh | Mesh to draw as a gizmo. |
position | Position (default is zero). |
rotation | Rotation (default is no rotation). |
scale | Scale (default is no scale). |
submeshIndex | Submesh to draw (default is -1, which draws whole mesh). |
Draws a wireframe mesh.
See Also: DrawMesh.