This class contains NGUI's extensions to Unity Editor's functionality.
More...
|
static RenderTexture | RenderToTexture (this Camera cam, int width, int height) |
| Render the camera into a render texture. If the camera has a render texture assigned, it will be re-used. If it doesn't, a new render texture will be created. More...
|
|
static bool | SaveRenderTextureAsPNG (this Camera cam, string filename) |
| If the camera has a render texture, save its contents into the specified file using PNG image format. More...
|
|
This class contains NGUI's extensions to Unity Editor's functionality.
static RenderTexture NGUIEditorExtensions.RenderToTexture |
( |
this Camera |
cam, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
static |
Render the camera into a render texture. If the camera has a render texture assigned, it will be re-used. If it doesn't, a new render texture will be created.
static bool NGUIEditorExtensions.SaveRenderTextureAsPNG |
( |
this Camera |
cam, |
|
|
string |
filename |
|
) |
| |
|
static |
If the camera has a render texture, save its contents into the specified file using PNG image format.
The documentation for this class was generated from the following file: