AndyGFX Posted Friday at 03:50 PM Posted Friday at 03:50 PM ... how switch between camera entities in scene. I can't find any command in world class or map class for set mainCamera. Quote "... programmig is art ..."
Josh Posted Friday at 05:47 PM Posted Friday at 05:47 PM You can use camera:SetHidden(true) to hide / show different cameras. A hidden camera will not be shown. You can also use camera:SetProjectionMode() with PROJECTION_NONE to disable rendering of that camera. This method is better for fast switching between cameras, but will keep directional light shadow data in memory. Hiding the camera will dump all directional light shadow data, and require it to be recreated when the camera is shown again. Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.