-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Screen Capture in Editor with Python
Alex Peterson edited this page Feb 27, 2024
·
1 revision
You can take a screenshot in Editor using the Python console.
- Open the Python console in the Editor and run
import azlmbr.bus
import azlmbr.atom
- In the Editor viewport menu set the resolution to
Custom
and enter the width and height you want (e.g. 4k or higher) - In the Python console run
azlmbr.atom.FrameCaptureRequestBus(azlmbr.bus.Broadcast, "CaptureScreenshot", "Capture1.png")
This will write a PNG file named Capture1.png
to your project's Cache folder.
- GPU Crash Debugging and Reporting
- CPU & GPU Debugging Tools
- CPU Profiling Tools
- GPU Profiling Tools
- GPU Memory Profiling
- Faster Shader Iteration
- Commit sign off
- PerformanceCollector API
- Allocator Tagging Guide
- What happens when entering/exiting Game mode?
- Hello World
- Using Tick Bus
- Using Transform Bus
- Reflecting Properties to the Editor
- Working With An External Lua Debugger
- Attachment Images and Buffers
- Image Builder
- Scene And Render Pipeline
- Shader Management Console (SMC)
- Work With Passes In Gems
- Developer Guide: Shader Build Arguments Customization
- Developer Guide: Customize AZSLc Executable
- Collecting Graphics Performance Metrics
- Mesh Instancing: For Content Creators
- Mesh Instancing: For Shader Authors
- Mesh Instancing: For Engine Maintainers/Contributors
- Screen Capture Image Comparison Testing