Version: 2021.2
言語: 日本語
public Texture2D RenderStaticPreview (int width, int height);

パラメーター

width The width to render the texture.
height The height to render the texture.

戻り値

Texture2D Returns a rendered texture of the current mesh with default settings.

説明

Creates a texture preview to override Editor.RenderStaticPreview. The current mesh will be drawn.