Monday, May 30, 2022
HomeGame DevelopmentEditor window in CC (3.5.0) - Cocos Creator

Editor window in CC (3.5.0) – Cocos Creator


Maybe an odd query, however I cannot perceive how the digital camera works within the editor itself and the right way to configure it.

I’ve two canvases, every with a digital camera. One canvas and digital camera with precedence 0 for UI components. Second canvas and digital camera with precedence 1 and DEPTH_ONLY flag for 3D components. 3d components needs to be rendered in entrance of the UI. I run it and all the pieces works because it ought to.

However within the editor window, it doesn’t matter what I do, I can’t get the 3d components to point out up in entrance of the UI. Even switching to 3d mode, the UI is all the time displayed in entrance of them. What am I doing fallacious and the place is the error?

Within the editor window in 3d mode:


Thanks to your suggestions, do you thoughts to move us a small repo scene to take a look at?

Definitely. I created a small demo:

Test_ide.zip (1.6 MB)

Because of this, the 3D object is seen after launch, however I can’t set its visibility within the editor:

Thanks so much to your repo scene! I can see the issue on this case, I believe it’s because our editor view we solely have one perspective digital camera, so it can not have totally different priorities.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments