# Getting the Camera's Projection Matrix

**URL:** <https://forums.unrealengine.com/t/getting-the-cameras-projection-matrix/335497>\
**Category:** Cinematics & Media\
**Tags:** projection-matrix, unreal-engine, question\
**Created:** [October 16, 2015, 1:00pm UTC](https://forums.unrealengine.com/t/getting-the-cameras-projection-matrix/335497 "2015-10-16T13:00:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_cb6f156b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cb6f156b](https://forums.unrealengine.com/u/anonymous_user_cb6f156b)\
**Post date:** [October 16, 2015, 1:00pm UTC](https://forums.unrealengine.com/t/getting-the-cameras-projection-matrix/335497/1 "2015-10-16T13:00:33Z")

</div>

I have a sphere mesh which acts as a cursor and handles some interaction and overlapping events on scene. I wanted another mesh or billboard whose position follows the sphere but will be closer to the camera, so that I can have an idea of where that sphere is even when it’s being blocked from view.

In order to do that, I will need to obtain, for the very least, the camera’s view projection matrix, so that I can obtain a direction vector from the sphere and a base position of origin. I gathered that FSceneView has functions for converting world space to screen, and vice versa, but how can I obtain the SceneView associated with a camera?

Thank you for any help.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4b24d331](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4b24d331](https://forums.unrealengine.com/u/anonymous_user_4b24d331)\
**Post date:** [January 11, 2018, 5:32pm UTC](https://forums.unrealengine.com/t/getting-the-cameras-projection-matrix/335497/2 "2018-01-11T17:32:51Z")

</div>

I know that this is probably already solved, but as I came here looking for a way to get the projection matrix, here’s another answer that shows one way to get the FSceneView: [Perform Frustum Check - Cinematics & Media - Epic Developer Community Forums](https://answers.unrealengine.com/questions/65488/perform-frustum-check.html#answer-207835)
