UI - Renderview

This is a helper library to renderview, you can create, remove, take screenshot and return get the renderview on a material format

aphone.RenderView_Start(string name, string params)

You NEED to remove the renderview when you don't need it anymore, else you will get FPS issues

Parameters

Purposes

Name

Unique name of the renderview

Params

If FOV is not specified. This will be set to 60.

Same for ZFar, will be set 6000

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)

Last updated