📱
APhone
  • What is APhone ?
  • Installation
    • Workshop
    • Configuration ( Lua part )
    • Configuration ( In-game )
  • How you make your own apps
    • Create your first app
    • App functions
    • App Metas
    • Tips you NEED to know
  • API ( Clientside )
    • Parameters ( Clientside )
    • UI - General Functions
    • UI - Required Functions
    • UI - Colors
    • UI - Fonts
    • UI - Web/Imgur Pictures
    • UI - Renderview
    • UI - Stencils
    • UI - Panels
    • Notifications
    • Rotate functions
  • API ( Shared )
    • Numbers
  • API - App Specific
    • Contacts ( Clientside )
    • Messages ( Clientside )
    • Bank ( Shared )
Powered by GitBook
On this page
  • aphone.RenderView_Start(string name, string params)
  • aphone.RenderView_RequestTexture(string name)
  • aphone.RenderView_RequestScreenshot(string name, string dir)
  • aphone.RenderView_End(string renderview_name)

Was this helpful?

  1. API ( Clientside )

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)

PreviousUI - Web/Imgur PicturesNextUI - Stencils

Last updated 4 years ago

Was this helpful?

https://wiki.facepunch.com/gmod/Structures/ViewData