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)

triangle-exclamation

Parameters

Purposes

Name

Unique name of the renderview

circle-info

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