Viewport
4 tools for working with viewport.
Split by whether they change your project. Read-only tools are always safe to try.
Reading
- Focus Actor — Frame an actor in the viewport, the same as pressing F on it. This is the usual way to look at something before taking a screenshot - it works out a sensible distance from the actor's bounds rather than guessing coordinates.
- Get Camera — Current editor viewport camera location, rotation and FOV.
- Screenshot — Capture the editor window as an image, including the 3D viewport. Use this to actually see the level, a material preview, or any editor panel rather than inferring state from asset data.
- Set Camera — Move the editor viewport camera. Give location and rotation, or give location and look_at to aim at a point. Follow with hf_screenshot to see the result.