Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Camera View Matrix in Script

$
0
0
I am looking to get a Camera component's "view" matrix in a script. I see that I can get the projection matrix using [Camera.projectionMatrix][1], but I don't see a Camera.viewMatrix property... I want these matrices in a script for a 3D graphics refresher tutorial that will visualize a camera's view and projection transforms in the form of game objects (representing vertices) that can be moved around the scene. [1]: http://docs.unity3d.com/Documentation/ScriptReference/Camera-projectionMatrix.html

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>