|
1 | 1 | [日本語はこちら / Japanese](README.ja.md) |
2 | 2 |
|
3 | | -# Unity Scene FoV Control |
| 3 | +# Unity Editor Extension Controls Field of View (FoV) in Scene View |
4 | 4 |
|
5 | 5 | Unity Editor Extension which enables controlling Scene View's FoV. |
6 | 6 |
|
7 | | -|Wide FoV |Narrow FoV | |
| 7 | +|Wide angle |Telescopic (narrow angle) | |
8 | 8 | |-------------------- |------------------------- | |
9 | 9 | | | | |
10 | 10 |
|
11 | | -Sometimes, [people](https://feedback.unity3d.com/suggestions/editor-camera-fov-adjustable) [complains](https://feedback.unity3d.com/suggestions/scene-view-camera-field-of-view-adjustment) for lack of Unity Editor's FoV control. |
12 | | -This Unity Editor extension is answer for them (at least part of it). |
| 11 | +One thing [people](https://feedback.unity3d.com/suggestions/editor-camera-fov-adjustable) [repeatedly say](https://feedback.unity3d.com/suggestions/scene-view-camera-field-of-view-adjustment) is missing in Unity Editor's Scene View is that there is no way to control the Field of View (FoV). |
| 12 | +With this extension, you will now be able to do this using the Unity Editor's private API. |
13 | 13 |
|
14 | 14 |
|
15 | 15 | ## How to use |
16 | 16 |
|
17 | 17 | - Import [this .unitypackage](https://github.com/t-mat/UnitySceneViewFovControl/releases/download/0.1.4/SceneViewFovControl.unitypackage) to your Unity project. |
18 | | - - Use "Assets > Import Package > Custom Package..." when you want to import it from file. |
19 | | -- After importing, you'll use the folloing control in the Scene View. |
20 | | - |
21 | | -|Keyboard/Mouse |Effect |Note | |
22 | | -|-------------------- |------------------------- |---- | |
23 | | -|Ctrl + Alt + Wheel |Change FoV | | |
24 | | -|Ctrl + Alt + Shift + Wheel |Change FoV (Faster) |Doesn't work with MacOS| |
25 | | -|Ctrl + Alt + O |Increase FoV | | |
26 | | -|Ctrl + Alt + P |Decrease FoV | | |
27 | | -|Ctrl + Alt + Shift + O |Increase FoV | | |
28 | | -|Ctrl + Alt + Shift + P |Decrease FoV (Faster) | | |
29 | | - |
30 | | -Also when you change FoV of Scene View, you'll see "reset" button at top left corner of Scene View. |
31 | | -FoV will reset when you push the button. |
32 | | - |
33 | | - |
34 | | -## Change settings and store |
35 | | - |
36 | | -You can show settings window via "Edit > Scene View FoV Settings" |
37 | | - |
38 | | -|Item |Meaning | |
39 | | -|-------------------- |------------------------- | |
40 | | -|FoV Speed |FoV changing speed | |
41 | | -|FoV Shift Modifier Multiplier |Multiplier when you pressing Shift | |
42 | | -|Min FoV |Minimum FoV value | |
43 | | -|Max FoV |Maximum FoV value | |
44 | | -| | | |
45 | | -|Reset Scene FoV | | |
46 | | -|Button Showing Duration |Duration of showing "Reset" button in the SceneView. Minimum value means "Don't show." Maximum value means "Always show." | |
47 | | -| | | |
48 | | -|Disable |Disable this editor extension | |
49 | | -| | | |
50 | | -|Save |Save settings | |
51 | | -|Restore Default Settings |Restore default settings | |
52 | | -|Restore Saved Settings |Restore last saved settings | |
53 | | -|Close |Close settings window | |
| 18 | + - Import from the file by selecting "Assets > Import Package > Custom Package." |
| 19 | +- You will be able to do the following in Scene View after importing. |
| 20 | + |
| 21 | +|Keyboard/Mouse |Effect |Note | |
| 22 | +|-------------------- |------------------------- |---- | |
| 23 | +|Ctrl + Alt + Wheel |Changes FoV | | |
| 24 | +|Ctrl + Alt + Shift + Wheel |Changes FoV (high speed) |Unavailable on Mac | |
| 25 | +|Ctrl + Alt + O |Increases FoV (wide angle) | | |
| 26 | +|Ctrl + Alt + P |Reduces FoV (narrow angle/telescopic) | | |
| 27 | +|Ctrl + Alt + Shift + O |Increases FoV (high speed, wide angle) | | |
| 28 | +|Ctrl + Alt + Shift + P |Reduces FoV (high speed, narrow angle/telescopic) | | |
| 29 | + |
| 30 | +A reset button will appear in the top left of the Scene View if you change the FoV. Clicking this button will return the Scene View's FoV back to its default. |
| 31 | + |
| 32 | + |
| 33 | +## Changing and Saving Settings |
| 34 | + |
| 35 | +Select "Edit" > "Scene View FoV Settings" in the Unity Editor menu to open the settings window. |
| 36 | + |
| 37 | +|Item |Meaning | |
| 38 | +|-------------------- |------------------------- | |
| 39 | +|FoV Speed |Changes FoV speed | |
| 40 | +|FoV Shift Modifier Multiplier |Multiplies the modifier speed when pressing Shift | |
| 41 | +|Min FoV |Minimizes FoV (angular unit) | |
| 42 | +|Max FoV |Maximizes FoV (angular unit) | |
| 43 | +| | | |
| 44 | +|Reset Scene FoV | | |
| 45 | +|Button Showing Duration |Determines how long the reset button will be shown in Scene View. Button is not displayed at the lowest value, and is always displayed at the highest | |
| 46 | +| | | |
| 47 | +|Disable |Disables function for changing FoV | |
| 48 | +| | | |
| 49 | +|Save |Saves the settings | |
| 50 | +|Restore Default Settings |Restores the default settings | |
| 51 | +|Restore Saved Settings |Restores the saved settings | |
| 52 | +|Close |Closes the window | |
54 | 53 |
|
55 | 54 |
|
56 | 55 | ## License |
|
0 commit comments