### [Solved]GuiOffscreenCanvas and zdepth issue

Expanding and utilizing the engine via C++.

#### [Solved]GuiOffscreenCanvas and zdepth issue

irei1as
Posts: 76
Joined: Fri Feb 27, 2015 5:13 pm
Edit: The problem was solved. Let me add the fix I found at the end.

---
I've tried making a new class that shows a GameTSCtrl but using a particular camera instead of the control object:

guiCameraView.h: http://pastebin.com/eChZDTGG
guiCameraView.cpp: http://pastebin.com/M8yp2bLD

And It works correctly -I ignore all the compile warnings- if that gui is inside playGui.gui.
(It may be one frame late but I don't care about that. I'm rendering the scene twice, after all.)

Now, I want that gui inside a GuiOffscreenCanvas (that canvas is not childed to anything) with something like:

Code: Select all

#### Who is online

Users browsing this forum: No registered users and 3 guests