I am attempting to add a button to the Actor Viewer that will toggle between 2d and 3d projection:
camera.SetPerspectiveProjection(2.f, 512.f, DEGTORAD(20.f));
found in source/tools/atlas/GameInterface/View.cpp
sets the Field Of View, IE how strongly things are effected by perspective.
float m_Distance;
found on line 38 of source/tools/atlas/AtlasUI/ScenarioEditor/Tools/ActorViewerTool.cpp
sets the distance from the object being viewed to the camera, IE how large the object appears on screen.
I want to modify both of these at the same time, but I can't for the life of me find a way to send data from source/tools/atlas/GameInterface/View.cpp to source/tools/atlas/AtlasUI/ScenarioEditor/Tools/ActorViewerTool.cpp
Any advice would be appreciated.
Boston.