# UI - Renderview

## aphone.RenderView\_Start(string name, string params)

{% hint style="danger" %}
You NEED to remove the renderview when you don't need it anymore, else you will get FPS issues
{% endhint %}

| Parameters | Purposes                                              |
| ---------- | ----------------------------------------------------- |
| Name       | Unique name of the renderview                         |
| Params     | <https://wiki.facepunch.com/gmod/Structures/ViewData> |

{% hint style="info" %}
If FOV is not specified. This will be set to 60.

Same for ZFar, will be set 6000
{% endhint %}

## aphone.RenderView\_RequestTexture(string name)

Will return the material of the renderview

## aphone.RenderView\_RequestScreenshot(string name, string dir)

| Parameters | Purposes                                       |
| ---------- | ---------------------------------------------- |
| Name       | Name of the renderview                         |
| Dir        | Where to save the picture ( Start from /data ) |

## aphone.RenderView\_End(string renderview\_name)
