- Home /
Question by
StephenWebb · Oct 25, 2020 at 09:09 AM ·
editorwindowcontrolspreview
How do I get the properties of a model's (or Camera's) Transform in the Editor Preview control?
I'm trying to figure out how to get data concerning either the model or the camera's transform (for rotation, translation and scale) while using a preview editor on an EditorWindow. I'm rendering a model using OnInteractivePreviewGUI and I'd like to be able to Zoom and Pan in the window. Thanks.
Comment