- Home /
Question by
Sadlercs · Jan 04, 2017 at 11:22 AM ·
functionmatrixpubliccamera viewportsource code
Camera public functions
Hello, I am trying to access ScreenToWorldPoint and WorldToViewportPoint public functions for the Camera classes but I cannot locate them. I know I can access the function from a script as Camera.WorldToViewportPoint, however, what I am doing requires the calculations outside of the script for performance reasons. Having the needed matrix calculations is mostly what I am after. I am not sure if this is even available. Any help would be appreciated.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612104017im_/https://answers.unity.com/themes/thub/images/avi.jpg)