diff options
author | Janne Kangas <janne.kangas@qt.io> | 2019-10-28 12:14:26 +0200 |
---|---|---|
committer | Janne Kangas <janne.kangas@qt.io> | 2019-10-28 14:19:36 +0200 |
commit | 63a5c17ba13eebc4fd91ba785a48dc783c437c01 (patch) | |
tree | d8a9b692cb8911d94c1aea9141c29b40cc3d22e1 | |
parent | 334b10059320b39df15438eb7653e1681d5ae384 (diff) |
Limit camera field of view to 179 degrees
Change-Id: I3904b1eb29b51a50b915f29efe24ab41ccdd6ce7
Task-id: QT3DS-3253
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r-- | res/DataModelMetadata/en-us/MetaData.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/DataModelMetadata/en-us/MetaData.xml b/res/DataModelMetadata/en-us/MetaData.xml index 24ebe3a..c3e0d6f 100644 --- a/res/DataModelMetadata/en-us/MetaData.xml +++ b/res/DataModelMetadata/en-us/MetaData.xml @@ -206,7 +206,7 @@ <!-- Camera Propertiess --> <Property name="orthographic" formalName="Orthographic" type="Boolean" category="Camera Properties" description="Remove all perspective from the camera?" /> <Property name="enablefrustumculling" formalName="Enable Frustum Culling" type="Boolean" default="False" category="Camera Properties" description="Remove all items from scene not visible from the camera." /> - <Property name="fov" formalName="Field of View" min="1" max="180" default="60" category="Camera Properties" description="Viewing angle of the camera\n(how much it can see)" > + <Property name="fov" formalName="Field of View" min="1" max="179" default="60" category="Camera Properties" description="Viewing angle of the camera\n(how much it can see)" > <ShowIfEqual property="orthographic" value="False" /> </Property> <Property name="fovhorizontal" formalName="FOV Horizontal" type="Boolean" default="False" category="Camera Properties" description="Field of view angle orientation"> |