diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2017-10-18 11:45:42 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2017-10-19 06:31:52 +0000 |
commit | 51c48737947fbcd35e21d020e8d44cd992c70081 (patch) | |
tree | 811f53b0918f512971adff4d7d74ee8ee3fc3eec /src/Runtime/res/DataModelMetadata | |
parent | 3b39c2382caefa0e38681f0c76fc6b5d72a21461 (diff) |
Add shadow camera field of view property
Also fixed attributehashes generator to generate more Qt-like code.
Task-number: QT3DS-33
Change-Id: I8f98d25b0c058a29a0b1c912993041ff5aa5fb38
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Janne Kangas <janne.kangas@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Runtime/res/DataModelMetadata')
-rw-r--r-- | src/Runtime/res/DataModelMetadata/en-us/MetaData.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml index dc41f912..98570cd7 100644 --- a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml +++ b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml @@ -256,6 +256,9 @@ <Property name="shdwmapfar" formalName="Shadow Far Clip" description="Affects the maximum distance for the shadow depth map" default="5000"> <ShowIfEqual property="castshadow" value="True"/> </Property> + <Property name="shdwmapfov" formalName="Shadow Field of View" description="Affects the field of view of the shadow camera" default="90" min="1" max="179"> + <ShowIfEqual property="castshadow" value="True"/> + </Property> </Light> <Lightmaps> <Property name="name" formalName="Name" type="String" default="Lightmaps" hidden="True" category="Lighting" /> |