godot-camera-preview/README.md

30 lines
1.3 KiB
Markdown
Raw Normal View History

2022-06-05 20:27:00 +03:00
# Nefrace's Camera Preview plugin
2022-06-05 22:58:43 +03:00
![icon](https://user-images.githubusercontent.com/18103556/172068287-a90cc657-ee91-4fec-b843-e4c2f7c44290.png)
2022-06-06 18:02:29 +03:00
**This plugin is for Godot stable 3.X version. If you want to use it on 4.0 alpha, check out [this fork](https://github.com/Lakamfo/godot4-camera-preview) by [Lakamfo](https://github.com/Lakamfo/)**
2022-06-05 20:27:00 +03:00
Allows you to add a small preview window inside main editor's view to show the preview of the selected camera.
It can search through the children of selected node to find a Camera node (disabled by default)
## Installation
- Clone this repo inside "addons" folder of your project
- Enable it from "Plugins" section inside Project Settings
- Go to 3D view and toggle option "Visible" inside "Camera preview" menu on the toolbar
- enjoy!
## Node search modes
There's 3 search modes that can help to find a Camera node in the children of the selected node:
- **Disabled** - only selected node is checked
2022-06-05 22:44:51 +03:00
- **By name** - uses `find_node` method with defined search mask (_"Camera*"_ by default)
- **By class** - recursively checking all children for type **Camera** (Not tested well, may not work with instantiated packed scenes)
https://user-images.githubusercontent.com/18103556/172067736-6ec689b5-15ab-4848-8d85-b2a71b527c71.mp4