diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2018-09-07 13:26:08 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2018-09-12 13:25:01 +0000 |
commit | 88b2d4f63f72c3c5c249ad13d32848bd3b2cb005 (patch) | |
tree | a781c5ba1e2a8a3945a6875c09a2bc9ae5a40b2c /src/Runtime/Source/Engine/Source/Qt3DSRenderRuntimeBindingImplTranslation.cpp | |
parent | a0223ae7dfd7f6d636192a057c0d88d5540d98e9 (diff) |
Add fovhorizontal property to cameras
This is a boolean property. If it is true, the fov value will be
interpreted as horizontal angle.
Task-number: QT3DS-708
Change-Id: I5642c6cd2e32fb4d0872d0422b58077f0f8af2f7
Reviewed-by: Teemu Tamminen <teemu.tamminen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Diffstat (limited to 'src/Runtime/Source/Engine/Source/Qt3DSRenderRuntimeBindingImplTranslation.cpp')
-rw-r--r-- | src/Runtime/Source/Engine/Source/Qt3DSRenderRuntimeBindingImplTranslation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Runtime/Source/Engine/Source/Qt3DSRenderRuntimeBindingImplTranslation.cpp b/src/Runtime/Source/Engine/Source/Qt3DSRenderRuntimeBindingImplTranslation.cpp index 8b3f90a8..1eb7fa48 100644 --- a/src/Runtime/Source/Engine/Source/Qt3DSRenderRuntimeBindingImplTranslation.cpp +++ b/src/Runtime/Source/Engine/Source/Qt3DSRenderRuntimeBindingImplTranslation.cpp @@ -522,6 +522,7 @@ struct SRuntimePropertyParser #define Camera_ClipNear ATTRIBUTE_CLIPNEAR #define Camera_ClipFar ATTRIBUTE_CLIPFAR #define Camera_FOV ATTRIBUTE_FOV +#define Camera_FOVHorizontal ATTRIBUTE_FOVHORIZONTAL #define Camera_Orthographic ATTRIBUTE_ORTHOGRAPHIC #define Camera_ScaleMode ATTRIBUTE_SCALEMODE #define Camera_ScaleAnchor ATTRIBUTE_SCALEANCHOR |