docs(camera): clarify screenshot camera param behavior and UI capture limitation#1060
docs(camera): clarify screenshot camera param behavior and UI capture limitation#1060Scriptwonder merged 1 commit intoCoplayDev:betafrom
Conversation
… limitation Clarify screenshot camera param behavior and UI capture limitation Corrects misleading "Defaults to Camera.main" in the camera parameter description and adds explicit warnings that specifying a camera excludes Screen Space - Overlay canvases from the capture.
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates camera screenshot tool documentation to correct default camera behavior and clearly explain the difference between ScreenCapture-based screenshots and camera-rendered captures, especially regarding Screen Space - Overlay UI visibility. Flow diagram for screenshot capture mode based on camera parameterflowchart TD
Start["Call screenshot tool"] --> Decision["Is camera parameter specified?"]
Decision -->|"No (camera omitted)"| ScreenCapture["Use ScreenCapture API"]
ScreenCapture --> UIIncluded["Capture all render layers including Screen Space - Overlay UI canvases"]
UIIncluded --> End["Return screenshot (optionally as base64 PNG if include_image=true)"]
Decision -->|"Yes (camera specified)"| CameraRender["Use direct camera rendering"]
CameraRender --> UIExcluded["Exclude Screen Space - Overlay canvases from capture"]
UIExcluded --> Viewpoint["Capture from specified camera viewpoint"]
Viewpoint --> End
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughDocumentation update to the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Clarify screenshot camera param behavior and UI capture limitation
Corrects misleading "Defaults to Camera.main" in the camera parameter description
and adds explicit warnings that specifying a camera excludes Screen Space - Overlay
canvases from the capture.
Summary by Sourcery
Clarify screenshot capture behavior and camera parameter effects in the camera management tooling documentation.
Documentation:
Summary by CodeRabbit