RenderStaticPreview(int, int)
Creates a texture preview to override Editor.RenderStaticPreview. The current MeshPreview.mesh will be drawn.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public Texture2D RenderStaticPreview(int width, int height)
Parameters
Returns
Type | Description |
|---|---|
| Texture2D | Returns a rendered texture of the current mesh with default settings. |