summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMahmoud Badri <mahmoud.badri@qt.io>2019-04-11 12:50:04 +0300
committerMahmoud Badri <mahmoud.badri@qt.io>2019-04-11 12:41:10 +0000
commit5c933776d970538b6b9c6b33d26ecaeb51ffa96d (patch)
tree626c133f7b413f30c570e626f4fe9acff86c36ca
parent0548bdbbd3e18cbb045ed29378487f5690d05e8c (diff)
clean up and format MetaData.xml
Also: - Fix a crash when setting a standard material. - remove visible property from materials. - add an inspector group "camera properties" to the camera and move the orthogonal setting there. Task-number: QT3DS-3319 Change-Id: I5830248b4e610231124a6c588a2563c757b066c1 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r--src/Authoring/Client/Code/Core/Doc/ClientDataModelBridge/ClientDataModelBridge.cpp4
-rw-r--r--src/Authoring/QT3DSDM/Systems/Qt3DSDMComposerTypeDefinitions.h3
-rw-r--r--src/Runtime/res/DataModelMetadata/en-us/MetaData.xml517
3 files changed, 281 insertions, 243 deletions
diff --git a/src/Authoring/Client/Code/Core/Doc/ClientDataModelBridge/ClientDataModelBridge.cpp b/src/Authoring/Client/Code/Core/Doc/ClientDataModelBridge/ClientDataModelBridge.cpp
index eeaeda66..b91511e2 100644
--- a/src/Authoring/Client/Code/Core/Doc/ClientDataModelBridge/ClientDataModelBridge.cpp
+++ b/src/Authoring/Client/Code/Core/Doc/ClientDataModelBridge/ClientDataModelBridge.cpp
@@ -1696,6 +1696,10 @@ CClientDataModelBridge::GetObjectType(qt3dsdm::Qt3DSDMInstanceHandle inInstance)
SValue theTypeValue;
IPropertySystem *thePropertySystem = m_Doc->GetStudioSystem()->GetPropertySystem();
thePropertySystem->GetInstancePropertyValue(inInstance, GetTypeProperty(), theTypeValue);
+
+ if (theTypeValue.empty())
+ return OBJTYPE_UNKNOWN;
+
std::wstring theType(qt3dsdm::get<TDataStrPtr>(theTypeValue)->GetData());
if (theType == L"Behavior")
diff --git a/src/Authoring/QT3DSDM/Systems/Qt3DSDMComposerTypeDefinitions.h b/src/Authoring/QT3DSDM/Systems/Qt3DSDMComposerTypeDefinitions.h
index fc7cd4f5..ab92a649 100644
--- a/src/Authoring/QT3DSDM/Systems/Qt3DSDMComposerTypeDefinitions.h
+++ b/src/Authoring/QT3DSDM/Systems/Qt3DSDMComposerTypeDefinitions.h
@@ -83,7 +83,8 @@ class IPropertySystem;
#define ITERATE_COMPOSER_TYPED_PROPERTIES \
HANDLE_COMPOSER_PROPERTY(type, m_TypeProp, TDataStrPtr, L"Typed")
-#define ITERATE_COMPOSER_GUIDED_PROPERTIES HANDLE_COMPOSER_PROPERTY(id, m_GuidProp, SLong4, 0)
+#define ITERATE_COMPOSER_GUIDED_PROPERTIES \
+ HANDLE_COMPOSER_PROPERTY(id, m_GuidProp, SLong4, 0)
#define ITERATE_COMPOSER_NAMED_PROPERTIES \
HANDLE_COMPOSER_PROPERTY(name, m_NameProp, TDataStrPtr, L"Unnamed")
diff --git a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml
index c5b99119..158ca740 100644
--- a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml
+++ b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml
@@ -7,18 +7,18 @@
<Category name="Asset" description="Handlers exposed on the asset." icon="Objects-Folder-Normal.png" highlightIcon="Objects-Folder-Normal.png" />
<Category name="Custom Handlers" description="Custom Handlers exposed on the behavior." icon="Objects-Behavior-Normal.png" highlightIcon="Objects-Behavior-Normal.png" />
<Category name="Time" description="Handlers exposed on the asset's time." icon="Objects-Folder-Normal.png" highlightIcon="Objects-Folder-Normal.png" />
- <Alias>
- <Property name="name" formalName="Name" description="Object name" type="String" default="Alias" hidden="False" />
- <Property name="referencednode" formalName="Reference" description="Original element (e.g. group, component, model)\nto clone" type="ObjectRef" />
- </Alias>
+
<Asset>
- <Property name="name" formalName="Name" type="String" description="Object name" hidden="False" category="Basic Properties" />
- <Property name="eyeball" formalName="Visible" description="Item visibility" type="Boolean" default="True" hidden="False" controllable="True" category="Basic Properties" />
- <Property name="starttime" formalName="Start Time" type="Long" hidden="True" category="Basic Properties" />
- <Property name="endtime" formalName="End Time" type="Long" default="10000" hidden="True" category="Basic Properties" />
- <Property name="shy" formalName="Shy" type="Boolean" hidden="True" category="Basic Properties" />
- <Property name="sourcepath" type="String" hidden="True" category="Basic Properties" />
- <Property name="importfile" type="String" hidden="True" category="Basic Properties" />
+ <!-- Basic properties -->
+ <Property name="name" formalName="Name" type="String" category="Basic Properties" description="Object name" />
+ <Property name="eyeball" formalName="Visible" type="Boolean" default="True" category="Basic Properties" controllable="True" description="Item visibility" />
+
+ <!-- Hidden properties -->
+ <Property name="starttime" formalName="Start Time" type="Long" category="Basic Properties" hidden="True" />
+ <Property name="endtime" formalName="End Time" type="Long" default="10000" category="Basic Properties" hidden="True" />
+ <Property name="shy" formalName="Shy" type="Boolean" category="Basic Properties" hidden="True" />
+ <Property name="sourcepath" type="String" category="Basic Properties" hidden="True" />
+ <Property name="importfile" type="String" category="Basic Properties" hidden="True" />
<Handler name="Set Property" category="Asset" description="Set a property to a new value.">
<Argument name="Property Name" formalName="Property" description="Property to change" type="Slide" argumentType="Property" />
@@ -31,103 +31,229 @@
<Argument name="Signal Name" description="The signal to emit" type="String" argumentType="Signal" />
</Handler>
</Asset>
+
+ <Node> <!-- Derived from <Asset> -->
+ <!-- Basic Properties -->
+ <Property name="position" formalName="Position" category="Basic Properties" type="Vector" description="Location in local space" />
+ <Property name="rotation" formalName="Rotation" category="Basic Properties" type="Rotation" description="Rotation around local axes" />
+ <Property name="scale" formalName="Scale" category="Basic Properties" type="Vector" default="1 1 1" description="Size adjustments along local axes" />
+ <Property name="pivot" formalName="Pivot" category="Basic Properties" type="Vector" description="Offset of the contents away from the\nlocal center" />
+ <Property name="opacity" formalName="Opacity" category="Basic Properties" min="0" max="100" default="100" description="How much the element (and its children)\nocclude items behind them" />
+
+ <!-- Hidden props -->
+ <Property name="rotationorder" formalName="Rotation Order" default="YXZ" hidden="True" list="XYZ:YZX:ZXY:XZY:YXZ:ZYX:XYZr:YZXr:ZXYr:XZYr:YXZr:ZYXr" description="Rotation Order" />
+ <Property name="boneid" default="-1" type="Long" hidden="True" />
+ <Property name="orientation" formalName="Orientation" default="Left Handed" hidden="True" list="Left Handed:Right Handed" description="Orientation" />
+ <Property name="ignoresparent" default="False" type="Boolean" hidden="True" />
+
+ <Event name="onPressureDown" category="Gesture" />
+ <Event name="onPressureUp" category="Gesture" />
+ <Event name="onTap" category="Gesture" />
+ <!--
+ <Event name="onDoubleTap" category="Gesture" />
+ <Event name="onSingleTap" category="Gesture" />
+ <Event name="onOnePointDragStart" category="Gesture" />
+ <Event name="onOnePointDrag" category="Gesture" />
+ <Event name="onOnePointDragRelease" category="Gesture" />
+ <Event name="onTwoPointDragStart" category="Gesture" />
+ <Event name="onTwoPointDrag" category="Gesture" />
+ <Event name="onTwoPointDragRelease" category="Gesture" />
+ <Event name="onSwipeLeft" category="Gesture" />
+ <Event name="onSwipeRight" category="Gesture" />
+ <Event name="onSwipeUp" category="Gesture" />
+ <Event name="onSwipeDown" category="Gesture" />
+ <Event name="onTwoPointSwipeLeft" category="Gesture" />
+ <Event name="onTwoPointSwipeRight" category="Gesture" />
+ <Event name="onTwoPointSwipeUp" category="Gesture" />
+ <Event name="onTwoPointSwipeDown" category="Gesture" />
+ -->
+ </Node>
+
+ <!-- Objects below are derived from <Asset> -->
+ <Scene>
+ <!-- Background -->
+ <Property name="bgcolorenable" formalName="Use Background" category="Background" type="Boolean" default="True" description="Clear the contents to a solid color\nbefore each frame?" />
+ <Property name="backgroundcolor" formalName="Background Color" category="Background" type="Color" animatable="False" description="Color to use for the background" />
+
+ <Event name="onPressureDown" category="Gesture" />
+ <Event name="onPressureUp" category="Gesture" />
+ <Event name="onTap" category="Gesture" />
+
+ <!-- Hidden and commented out props -->
+ <Property name="name" formalName="Name" category="Basic Properties" type="String" default="Scene" hidden="True" />
+ <Property name="eyeball" formalName="Visible" category="Basic Properties" type="Boolean" default="True" hidden="True" description="Item visibility" />
+ <!--
+ <Event name="onDoubleTap" category="Gesture" />
+ <Event name="onSingleTap" category="Gesture" />
+ <Event name="onOnePointDragStart" category="Gesture" />
+ <Event name="onOnePointDrag" category="Gesture" />
+ <Event name="onOnePointDragRelease" category="Gesture" />
+ <Event name="onTwoPointDragStart" category="Gesture" />
+ <Event name="onTwoPointDrag" category="Gesture" />
+ <Event name="onTwoPointDragRelease" category="Gesture" />
+ <Event name="onSwipeLeft" category="Gesture" />
+ <Event name="onSwipeRight" category="Gesture" />
+ <Event name="onSwipeUp" category="Gesture" />
+ <Event name="onSwipeDown" category="Gesture" />
+ <Event name="onTwoPointSwipeLeft" category="Gesture" />
+ <Event name="onTwoPointSwipeRight" category="Gesture" />
+ <Event name="onTwoPointSwipeUp" category="Gesture" />
+ <Event name="onTwoPointSwipeDown" category="Gesture" />
+ -->
+ </Scene>
+
+ <RenderPlugin>
+ <Property name="name" formalName="Name" description="Object name" type="String" default="RenderPlugin" hidden="True" />
+ </RenderPlugin>
+
<Behavior>
<!--<Property name="name" formalName="Name" description="Object name" type="String" default="Behavior" hidden="False" />-->
</Behavior>
- <Camera>
- <Property name="name" formalName="Name" description="Object name" type="String" default="Camera" hidden="False" />
- <Property name="eyeball" formalName="Visible" description="Item visibility" type="Boolean" default="True" hidden="False" controllable="True" />
- <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" hidden="True" />
- <Property name="orthographic" formalName="Orthographic" description="Remove all perspective from the camera?" type="Boolean" animatable="False" />
- <Property name="position" formalName="Position" description="Location in local space" type="Vector" default="0 0 -600" />
- <Property name="rotation" formalName="Rotation" description="Rotation around local axes" type="Rotation" />
- <Property name="scale" formalName="Scale" description="Size adjustments along local axes" type="Vector" default="1 1 1" />
- <Property name="pivot" formalName="Pivot" description="Offset of the contents away from the local center" type="Vector" />
- <Property name="fov" formalName="Field of View" description="Viewing angle of the camera\n(how much it can see)" min="1" max="180" default="60">
- <ShowIfEqual property="orthographic" value="False"/>
- </Property>
- <Property name="fovhorizontal" formalName="FOV Horizontal" description="Field of view angle orientation" type="Boolean" default="False">
- <ShowIfEqual property="orthographic" value="False"/>
- </Property>
- <Property name="clipnear" formalName="Clipping Start" description="Near distance at which objects disappear" min="1" max="1000" default="10" />
- <Property name="clipfar" formalName="Clipping End" description="Far distance at which objects disappear" default="5000" />
- <Property name="scalemode" formalName="Scale Mode" description="Render more content as the layer expands\n(same size) or scale up the content (fit)" list="Same Size:Fit:Fit Horizontal:Fit Vertical" default="Fit" />
- <Property name="scaleanchor" formalName="Scale Anchor" description="Corner of the content to pin as the\nlayer size changes" list="Center:N:NE:E:SE:S:SW:W:NW" default="Center"/>
- </Camera>
- <Component>
- <!-- Basic Properties -->
- <Property name="name" formalName="Name" type="String" default="Model" category="Basic Properties" description="Object name" />
- <Property name="eyeball" formalName="Visible" type="Boolean" default="True" category="Basic Properties" description="Item visibility" />
- <Property name="position" formalName="Position" type="Vector" category="Basic Properties" description="Location in local space" />
- <Property name="rotation" formalName="Rotation" type="Rotation" category="Basic Properties" description="Rotation around local axes" />
- <Property name="scale" formalName="Scale" type="Vector" default="1 1 1" category="Basic Properties" description="Size adjustments along local axes" />
- <Property name="pivot" formalName="Pivot" type="Vector" category="Basic Properties" description="Offset of the contents away from the local center" />
- <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" category="Basic Properties" />
- <!-- Variant Tags -->
- <Property name="variants" type="String" animatable="False" category="Variant Tags" />
- </Component>
<Effect>
<Property name="name" formalName="Name" type="String" default="Effect" hidden="False" />
<Property name="eyeball" formalName="Visible" description="Item visibility" type="Boolean" default="True" hidden="False" controllable="True" />
</Effect>
- <Group>
+
+ <Image>
+ <Property name="scaleu" formalName="U Repeat" default="1" description="Number of times the image is tiled on\nthe U direction of the material" />
+ <Property name="scalev" formalName="V Repeat" default="1" description="Number of times the image is tiled on\nthe V direction of the material" />
+ <Property name="mappingmode" formalName="Texture Mapping" default="UV Mapping" description="How the image is applied to the\nmaterial" list="UV Mapping:Environmental Mapping:Light Probe" />
+ <Property name="tilingmodehorz" formalName="U Tiling" default="No Tiling" description="How the image is tiled in the\nU direction" list="Tiled:Mirrored:No Tiling" />
+ <Property name="tilingmodevert" formalName="V Tiling" default="No Tiling" description="How the image is tiled in the\nV direction" list="Tiled:Mirrored:No Tiling" />
+ <Property name="rotationuv" formalName="UV Rotation" description="Rotate the image's coordinates" />
+ <Property name="positionu" formalName="U Position" description="Offset of the image along the U\ndirection of the material" />
+ <Property name="positionv" formalName="V Position" description="Offset of the image along the V\ndirection of the material" />
+ <Property name="pivotu" formalName="U Pivot" description="Offset the image in the U direction\nwithout affecting rotation center" />
+ <Property name="pivotv" formalName="V Pivot" description="Offset the image in the V direction\nwithout affecting rotation center" />
+ <!-- Texture subpresentation is not set to controllable as it does not currently work in runtime -->
+ <Property name="subpresentation" formalName="Sub-Presentation" description="Presentation or QML stream\nto use instead of the image" type="Renderable" />
+
+ <!-- Hidden props -->
+ <Property name="name" formalName="Name" category="Basic Properties" type="String" default="Image" hidden="True" />
+ <Property name="eyeball" formalName="Visible" category="Basic Properties" type="Boolean" default="True" hidden="True" description="Item visibility" />
+ </Image>
+
+ <MaterialBase>
+ <Property name="name" formalName="Name" type="String" default="Material" category="Basic Properties" description="Material name" />
+ <Property name="iblprobe" formalName="IBL Override" type="Image" category="Basic Properties" description="IBL probe to use in place of the\nlayer probe for this material" />
+
+ <!-- Hidden properties -->
+ <Property name="eyeball" formalName="Visible" type="Boolean" default="True" category="Basic Properties" hidden="True" description="Item visibility" />
+ </MaterialBase>
+
+ <!-- Objects below are derived from <MaterialBase> -->
+ <Lightmaps>
+ <Property name="lightmapindirect" formalName="Indirect Lightmap" description="Image providing indirect light values\nfor GI" type="Image" category="Lighting" />
+ <Property name="lightmapradiosity" formalName="Radiosity Lightmap" description="Image providing directional light values" type="Image" category="Lighting" />
+ <Property name="lightmapshadow" formalName="Shadow Lightmap" description="Baked Shadow map" type="Image" category="Lighting" />
+ </Lightmaps>
+
+ <!-- Objects below are derived from <Lightmaps> -->
+ <Material>
+ <Property name="shaderlighting" formalName="Lighting" default="Pixel" category="Material" description="Light model" list="Pixel:None" />
+ <Property name="blendmode" formalName="Blending Mode" default="Normal" category="Material" description="How this material blends with content\nbehind it. Modes marked with * are\navailable only with HW supporting\nadvanced blending modes." list="Normal:Screen:Multiply:*Overlay:*ColorBurn:*ColorDodge" />
+ <Property name="vertexcolors" formalName="Enable Vertex Colors" type="Boolean" default="False" category="Material" description="Use vertex colors from the mesh" animatable="False" />
+ <Property name="diffuse" formalName="Diffuse Color" type="Color" default="1 1 1" category="Material" description="Color when lit from any direction" />
+ <Property name="diffusemap" formalName="Diffuse Map" type="Image" category="Material" description="Image to multiply with diffuse color" />
+ <Property name="diffusemap2" formalName="Diffuse Map 2" type="Image" category="Material" description="Image to multiply with diffuse color" />
+ <Property name="diffusemap3" formalName="Diffuse Map 3" type="Image" category="Material" description="Image to multiply with diffuse color" />
+ <Property name="specularreflection" formalName="Specular Reflection" type="Image" category="Material" description="Image to use as a faked reflection" />
+ <Property name="speculartint" formalName="Specular Tint" type="Color" default="1 1 1" category="Material" description="Coloration applied to specular reflections" />
+ <Property name="specularamount" formalName="Specular Amount" category="Material" description="Amount of shine/gloss" />
+ <Property name="specularmap" formalName="Specular Map" type="Image" category="Material" description="Image to vary the specular amount across\nthe material" />
+ <Property name="specularmodel" formalName="Specular Model" default="Default" category="Material" description="Equation to use when calculating specular\nhighlights for CG lights" list="Default:KGGX:KWard" />
+ <Property name="specularroughness" formalName="Specular Roughness" min='0.001' max='1' category="Material" description="Softening applied to reflections and\nhighlights" />
+ <Property name="roughnessmap" formalName="Roughness Map" type="Image" category="Material" description="Image to vary the specular roughness across\nthe material" />
+ <Property name="fresnelPower" formalName="Fresnel Power" category="Material" description="Damping of head-on reflections" />
+ <Property name="ior" formalName="Index of Refraction" min="1" default="1.5" category="Material" description="Index of refraction of the material" />
+ <Property name="bumpmap" formalName="Bump Map" type="Image" category="Material" description="Grayscale image simulating roughness in the\nlighting" />
+ <Property name="normalmap" formalName="Normal Map" type="Image" category="Material" description="Special RGB image describing surface\nroughness" />
+ <Property name="bumpamount" formalName="Bump Amount" type="float" default=".5" category="Material" description="Strength of bump/normal map effect" />
+ <Property name="displacementmap" formalName="Displacement Map" type="Image" category="Material" description="Grayscale image used to offset vertices\nof the geometry" />
+ <Property name="displaceamount" formalName="Displacement Amount" type="float" default="20" category="Material" description="Distance to offset vertices" />
+ <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" category="Material" description="Visibility of the geometry for this material." />
+ <Property name="opacitymap" formalName="Opacity Map" type="Image" category="Material" description="Image to vary the opacity across the material" />
+ <Property name="emissivecolor" formalName="Emissive Color" type="Color" default="1 1 1" category="Material" description="Color of self-illumination for this material" />
+ <Property name="emissivepower" formalName="Emissive Power" category="Material" description="Amount of self-illumination for this material\n(will not light other objects)" />
+ <Property name="emissivemap" formalName="Emissive Map" type="Image" category="Material" description="Image to vary the emissive power across\nthe material" />
+ <Property name="emissivemap2" formalName="Emissive Map 2" type="Image" category="Material" description="Second image to modulate the emissive power\nacross the material" />
+ <Property name="translucencymap" formalName="Translucency Map" type="Image" category="Material" description="Grayscale image controlling how much light can\npass through the material from behind" />
+ <Property name="translucentfalloff" formalName="Translucent Falloff" type="float" default="1" category="Material" description="Translucent Falloff" />
+ <Property name="diffuselightwrap" formalName="Diffuse Light Wrap" type="float" min='0.0' max='1.0' category="Material" description="Diffuse Light Wrap" />
+ </Material>
+
+ <ReferencedMaterial>
+ <Property name="referencedmaterial" formalName="Referenced Material" type="ObjectRef" category="Material" description="Material to use all settings from" />
+ </ReferencedMaterial>
+
+ <!-- Objects below are derived from <Node> -->
+ <Alias> <!-- (no longer in use) -->
+ <Property name="referencednode" formalName="Reference" description="Original element (e.g. group, component, model)\nto clone" type="ObjectRef" />
+ </Alias>
+
+ <Camera>
<!-- Basic Properties -->
- <Property name="name" formalName="Name" type="String" default="Model" category="Basic Properties" description="Object name" />
- <Property name="eyeball" formalName="Visible" type="Boolean" default="True" category="Basic Properties" description="Item visibility" />
- <Property name="position" formalName="Position" type="Vector" category="Basic Properties" description="Location in local space" />
- <Property name="rotation" formalName="Rotation" type="Rotation" category="Basic Properties" description="Rotation around local axes" />
- <Property name="scale" formalName="Scale" type="Vector" default="1 1 1" category="Basic Properties" description="Size adjustments along local axes" />
- <Property name="pivot" formalName="Pivot" type="Vector" category="Basic Properties" description="Offset of the contents away from the local center" />
- <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" category="Basic Properties" />
+ <Property name="name" formalName="Name" type="String" default="Camera" category="Basic Properties" description="Camera name" />
+ <Property name="eyeball" formalName="Visible" type="Boolean" default="True" category="Basic Properties" description="Item visibility" controllable="True" />
+ <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" category="Basic Properties" hidden="True" />
+ <Property name="position" formalName="Position" type="Vector" default="0 0 -600" category="Basic Properties" description="Location in local space" />
+ <Property name="rotation" formalName="Rotation" type="Rotation" category="Basic Properties" description="Rotation around local axes" />
+ <Property name="scale" formalName="Scale" type="Vector" default="1 1 1" category="Basic Properties" description="Size adjustments along local axes" />
+ <Property name="pivot" formalName="Pivot" type="Vector" category="Basic Properties" description="Offset of the contents away from the local center" />
+
+ <!-- Camera Propertiess -->
+ <Property name="orthographic" formalName="Orthographic" type="Boolean" category="Camera Properties" description="Remove all perspective 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)" >
+ <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">
+ <ShowIfEqual property="orthographic" value="False" />
+ </Property>
+ <Property name="clipnear" formalName="Clipping Start" default="10" category="Camera Properties" min="1" max="1000" description="Near distance at which objects disappear" />
+ <Property name="clipfar" formalName="Clipping End" default="5000" category="Camera Properties" description="Far distance at which objects disappear" />
+ <Property name="scalemode" formalName="Scale Mode" default="Fit" category="Camera Properties" list="Same Size:Fit:Fit Horizontal:Fit Vertical" description="Render more content as the layer expands\n(same size) or scale up the content (fit)" />
+ <Property name="scaleanchor" formalName="Scale Anchor" default="Center" category="Camera Properties" list="Center:N:NE:E:SE:S:SW:W:NW" description="Corner of the content to pin as the\nlayer size changes" />
+
+ <!-- Hidden props -->
+ <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" category="Basic Properties" hidden="True" />
+ </Camera>
+
+ <Component>
+ <!-- Variant Tags -->
+ <Property name="variants" type="String" animatable="False" category="Variant Tags" />
+ </Component>
+ <Group>
<!-- Variant Tags -->
<Property name="variants" type="String" animatable="False" category="Variant Tags" />
<!-- Import -->
<Property name="sourcepath" formalName="Import" type="Import" category="Import" description="Path to the source of this group" />
</Group>
- <Image>
- <!--Images and materials don't have lifetimes, so we use a value that we know just won't cause any issues-->
- <Property name="name" formalName="Name" type="String" default="Image" hidden="True" />
- <Property name="eyeball" formalName="Visible" description="Item visibility" type="Boolean" default="True" hidden="True"/>
- <Property name="endtime" formalName="End Time" type="Long" default="2147483647" hidden="True" />
- <Property name="name" formalName="Name" type="String" default="Image" hidden="False" />
- <Property name="scaleu" formalName="U Repeat" description="Number of times the image is tiled on\nthe U direction of the material" default="1" />
- <Property name="scalev" formalName="V Repeat" description="Number of times the image is tiled on\nthe V direction of the material" default="1" />
- <Property name="mappingmode" formalName="Texture Mapping" description="How the image is applied to the\nmaterial" list="UV Mapping:Environmental Mapping:Light Probe" default="UV Mapping" />
- <Property name="tilingmodehorz" formalName="U Tiling" description="How the image is tiled in the\nU direction" list="Tiled:Mirrored:No Tiling" default="No Tiling" />
- <Property name="tilingmodevert" formalName="V Tiling" description="How the image is tiled in the\nV direction" list="Tiled:Mirrored:No Tiling" default="No Tiling" />
- <Property name="rotationuv" formalName="UV Rotation" description="Rotate the image's coordinates" />
- <Property name="positionu" formalName="U Position" description="Offset of the image along the U\ndirection of the material" />
- <Property name="positionv" formalName="V Position" description="Offset of the image along the V\ndirection of the material" />
- <Property name="pivotu" formalName="U Pivot" description="Offset the image in the U direction\nwithout affecting rotation center" />
- <Property name="pivotv" formalName="V Pivot" description="Offset the image in the V direction\nwithout affecting rotation center" />
- <!-- Texture subpresentation is not set to controllable as it does not currently work in runtime -->
- <Property name="subpresentation" formalName="Sub-Presentation" description="Presentation or QML stream\nto use instead of the image" type="Renderable" />
- </Image>
+
<Layer>
<!-- Basic Properties -->
- <Property name="name" formalName="Name" description="Object name" type="String" default="Layer" hidden="False" category="Basic Properties" />
- <Property name="eyeball" formalName="Visible" description="Item visibility" type="Boolean" default="True" hidden="False" controllable="True" category="Basic Properties" />
- <Property name="background" formalName="Layer Background" description="The color to use for the layer\neach frame" list="Transparent:SolidColor:Unspecified" default="Transparent" category="Basic Properties" />
- <Property name="backgroundcolor" formalName="Background Color" description="The background color for the layer" type="Color" animatable="False" category="Basic Properties">
+ <Property name="name" formalName="Name" type="String" default="Layer" category="Basic Properties" description="Layer name" />
+ <Property name="eyeball" formalName="Visible" type="Boolean" default="True" category="Basic Properties" description="Item visibility" controllable="True" />
+ <Property name="background" formalName="Layer Background" default="Transparent" category="Basic Properties" description="The color to use for the layer\neach frame" list="Transparent:SolidColor:Unspecified" />
+ <Property name="backgroundcolor" formalName="Background Color" type="Color" animatable="False" category="Basic Properties" description="The background color for the layer">
<ShowIfEqual property="background" value="SolidColor"/>
</Property>
- <Property name="blendtype" formalName="Blend Mode" list="Normal:Screen:Multiply:Add:Subtract:*Overlay:*ColorBurn:*ColorDodge" default="Normal" description="Mode of blending between this layer\nand layers below. Modes marked with\n* are available only with HW supporting\nadvanced blending modes." category="Basic Properties" />
- <Property name="sourcepath" formalName="Sub-Presentation" description="Presentation or QML stream to\nrender for this layer" type="Renderable" controllable="True" category="Basic Properties" />
+ <Property name="blendtype" formalName="Blend Mode" default="Normal" category="Basic Properties" description="Mode of blending between this layer\nand layers below. Modes marked with\n* are available only with HW supporting\nadvanced blending modes." list="Normal:Screen:Multiply:Add:Subtract:*Overlay:*ColorBurn:*ColorDodge" />
+ <Property name="sourcepath" formalName="Sub-Presentation" type="Renderable" category="Basic Properties" description="Presentation or QML stream to\nrender for this layer" controllable="True" />
<!-- Variant Tags -->
<Property name="variants" type="String" animatable="False" category="Variant Tags" />
<!-- Antialiasing -->
- <Property name="progressiveaa" formalName="Progressive AA" description="Improves the visual quality when no\nitems are moving" list="None:2x:4x:8x" default="None" category="Antialiasing" />
- <Property name="multisampleaa" formalName="Multisample AA" description="Improves geometry quality, e.g.\nsilhouettes." list="None:2x:4x:SSAA" default="None" category="Antialiasing" />
- <Property name="temporalaa" formalName="Temporal AA" description="Improve overall quality using camera\njittering and frame blending?" type="Boolean" default="False" category="Antialiasing" />
+ <Property name="progressiveaa" formalName="Progressive AA" list="None:2x:4x:8x" default="None" category="Antialiasing" description="Improves the visual quality when no\nitems are moving" />
+ <Property name="multisampleaa" formalName="Multisample AA" list="None:2x:4x:SSAA" default="None" category="Antialiasing" description="Improves geometry quality, e.g.\nsilhouettes." />
+ <Property name="temporalaa" formalName="Temporal AA" type="Boolean" default="False" category="Antialiasing" description="Improve overall quality using camera\njittering and frame blending?" />
<!-- Size -->
- <Property name="horzfields" formalName="Horizontal Fields" description="Properties to use to control the\nhorizontal size and placement" list="Left/Width:Left/Right:Width/Right" default="Left/Width" category="Size" />
- <Property name="left" formalName="Left" description="Distance between presentation and\nlayer left edges" category="Size">
+ <Property name="horzfields" formalName="Horizontal Fields" default="Left/Width" category="Size" description="Properties to use to control the\nhorizontal size and placement" list="Left/Width:Left/Right:Width/Right" />
+ <Property name="left" formalName="Left" category="Size" description="Distance between presentation and\nlayer left edges">
<ShowIfEqual property="horzfields" value="Left/Width"/>
<ShowIfEqual property="horzfields" value="Left/Right"/>
</Property>
@@ -152,7 +278,7 @@
<ShowIfEqual property="horzfields" value="Width/Right"/>
</Property>
<Property name="vertfields" formalName="Vertical Fields" description="Properties to use to control the\nvertical size and placement" list="Top/Height:Top/Bottom:Height/Bottom" default="Top/Height" category="Size" />
- <Property name="top" formalName="Top" description="Distance between presentation and layer\ntop edges." category="Size">
+ <Property name="top" formalName="Top" description="Distance between presentation and layer\ntop edges." category="Size">
<ShowIfEqual property="vertfields" value="Top/Height"/>
<ShowIfEqual property="vertfields" value="Top/Bottom"/>
</Property>
@@ -212,23 +338,31 @@
</Property>
<!-- Light Probe -->
- <Property name="lightprobe" formalName="Light Probe" description="Image used for image-based lighting\nand reflections" type="Image" category="Light Probe" />
- <Property name="probebright" formalName="IBL Brightness" description="Amount of light emitted by the light\nprobe." default="100" category="Light Probe" />
- <Property name="fastibl" formalName="Fast IBL" description="Use a faster approximation to\nimage-based lighting" type="Boolean" default="True" hidden="True" category="Light Probe" />
- <Property name="probehorizon" formalName="IBL Horizon Cutoff" description="Upper limit for horizon darkening\nof the light probe" min="-1" max="-0.001" default="-1" category="Light Probe" />
- <Property name="probefov" formalName="IBL FOV Angle" description="Image source FOV for the case of using\na camera-source as the IBL probe" min="1.0" max="180" default="180" category="Light Probe" />
- <Property name="lightprobe2" formalName="Secondary Light Probe" description="Image to blend over the primary light\nprobe" type="Image" category="Light Probe" />
- <Property name="probe2fade" formalName="Probe Crossfade" description="Blend amount between the primary and\nseconary probes" min="0.0" max="1.0" default="1.0" category="Light Probe" />
- <Property name="probe2window" formalName="Secondary Probe Window" description="Texture-U window size used for the\nmoving window (for scrolling textures)" min="0.01" max="1.0" default="1.0" hidden="True" category="Light Probe" />
- <Property name="probe2pos" formalName="Secondary Probe Offset" description="Texture-U window offset used for the\nmoving window" default="0.5" hidden="True" category="Light Probe" />
+ <Property name="lightprobe" formalName="Light Probe" type="Image" category="Light Probe" description="Image used for image-based lighting\nand reflections" />
+ <Property name="probebright" formalName="IBL Brightness" default="100" category="Light Probe" description="Amount of light emitted by the light\nprobe." />
+ <Property name="probehorizon" formalName="IBL Horizon Cutoff" min="-1" max="-0.001" default="-1" category="Light Probe" description="Upper limit for horizon darkening\nof the light probe" />
+ <Property name="probefov" formalName="IBL FOV Angle" min="1.0" max="180" default="180" category="Light Probe" description="Image source FOV for the case of using\na camera-source as the IBL probe" />
+ <Property name="lightprobe2" formalName="Secondary Light Probe" type="Image" category="Light Probe" description="Image to blend over the primary light\nprobe" />
+ <Property name="probe2fade" formalName="Probe Crossfade" min="0.0" max="1.0" default="1.0" category="Light Probe" description="Blend amount between the primary and\nseconary probes" />
<!-- Advanced -->
- <Property name="disabledepthtest" formalName="Disable Depth Test" description="Optimize render speed for layers with\nmostly transparent objects?" type="Boolean" animatable="False" category="Advanced" />
- <Property name="disabledepthprepass" formalName="Disable Depth Prepass" description="Optimize render speed for layers\nwith low depth complexity" type="Boolean" animatable="False" category="Advanced" />
+ <Property name="disabledepthtest" formalName="Disable Depth Test" type="Boolean" animatable="False" category="Advanced" description="Optimize render speed for layers with\nmostly transparent objects?" />
+ <Property name="disabledepthprepass" formalName="Disable Depth Prepass" type="Boolean" animatable="False" category="Advanced" description="Optimize render speed for layers\nwith low depth complexity" />
+
+ <!-- Hidden props -->
+ <Property name="position" formalName="Position" type="Vector" category="Basic Properties" hidden="True" description="Location in local space" />
+ <Property name="rotation" formalName="Rotation" type="Rotation" category="Basic Properties" hidden="True" description="Rotation around local axes" />
+ <Property name="scale" formalName="Scale" type="Vector" default="1 1 1" category="Basic Properties" hidden="True" description="Size adjustments along local axes" />
+ <Property name="pivot" formalName="Pivot" type="Vector" category="Basic Properties" hidden="True" description="Offset of the contents away from the local center" />
+ <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" category="Basic Properties" hidden="True" />
+ <Property name="fastibl" formalName="Fast IBL" type="Boolean" default="True" category="Light Probe" hidden="True" description="Use a faster approximation to\nimage-based lighting" />
+ <Property name="probe2window" formalName="Secondary Probe Window" min="0.01" max="1.0" default="1.0" category="Light Probe" hidden="True" description="Texture-U window size used for the\nmoving window (for scrolling textures)" />
+ <Property name="probe2pos" formalName="Secondary Probe Offset" default="0.5" category="Light Probe" hidden="True" description="Texture-U window offset used for the\nmoving window" />
</Layer>
+
<Light>
<!-- Basic Properties -->
- <Property name="name" formalName="Name" type="String" default="Light" category="Basic Properties" description="Object name" />
+ <Property name="name" formalName="Name" type="String" default="Light" category="Basic Properties" description="Light name" />
<Property name="eyeball" formalName="Visible" type="Boolean" default="True" category="Basic Properties" description="Item visibility" controllable="True" />
<Property name="position" formalName="Position" type="Vector" category="Basic Properties" description="Location in local space" />
<Property name="rotation" formalName="Rotation" type="Rotation" category="Basic Properties" description="Rotation around local axes" />
@@ -267,50 +401,7 @@
<!-- Hidden props -->
<Property name="opacity" formalName="Opacity" min="0" max="100" default="100" category="Basic Properties" hidden="True" />
</Light>
- <MaterialBase>
- <Property name="name" formalName="Name" description="Object name" type="String" default="Material" hidden="False" category="Basic Properties" />
- <Property name="iblprobe" formalName="IBL Override" description="IBL probe to use in place of the\nlayer probe for this material" type="Image" category="Basic Properties" />
- </MaterialBase>
- <Lightmaps>
- <Property name="lightmapindirect" formalName="Indirect Lightmap" description="Image providing indirect light values\nfor GI" type="Image" category="Lighting" />
- <Property name="lightmapradiosity" formalName="Radiosity Lightmap" description="Image providing directional light values" type="Image" category="Lighting" />
- <Property name="lightmapshadow" formalName="Shadow Lightmap" description="Baked Shadow map" type="Image" category="Lighting" />
- </Lightmaps>
- <Material>
- <Property name="shaderlighting" formalName="Lighting" description="Light model" list="Pixel:None" default="Pixel" category="Material" />
- <Property name="blendmode" formalName="Blending Mode" description="How this material blends with content\nbehind it. Modes marked with * are\navailable only with HW supporting\nadvanced blending modes." list="Normal:Screen:Multiply:*Overlay:*ColorBurn:*ColorDodge" default="Normal" category="Material" />
- <Property name="vertexcolors" formalName="Enable Vertex Colors" description="Use vertex colors from the mesh" type="Boolean" default="False" animatable="False" category="Material" />
- <Property name="diffuse" formalName="Diffuse Color" description="Color when lit from any direction" type="Color" default="1 1 1" category="Material" />
- <Property name="diffusemap" formalName="Diffuse Map" description="Image to multiply with diffuse color" type="Image" category="Material" />
- <Property name="diffusemap2" formalName="Diffuse Map 2" description="Image to multiply with diffuse color" type="Image" category="Material" />
- <Property name="diffusemap3" formalName="Diffuse Map 3" description="Image to multiply with diffuse color" type="Image" category="Material" />
- <Property name="specularreflection" formalName="Specular Reflection" description="Image to use as a faked reflection" type="Image" category="Material" />
- <Property name="speculartint" formalName="Specular Tint" type="Color" description="Coloration applied to specular reflections" default="1 1 1" category="Material" />
- <Property name="specularamount" formalName="Specular Amount" description="Amount of shine/gloss" category="Material" />
- <Property name="specularmap" formalName="Specular Map" description="Image to vary the specular amount across\nthe material" type="Image" category="Material" />
- <Property name="specularmodel" formalName="Specular Model" description="Equation to use when calculating specular\nhighlights for CG lights" list="Default:KGGX:KWard" default="Default" category="Material" />
- <Property name="specularroughness" formalName="Specular Roughness" description="Softening applied to reflections and\nhighlights" min='0.001' max='1' category="Material" />
- <Property name="roughnessmap" formalName="Roughness Map" description="Image to vary the specular roughness across\nthe material" type="Image" category="Material" />
- <Property name="fresnelPower" formalName="Fresnel Power" description="Damping of head-on reflections" category="Material" />
- <Property name="ior" formalName="Index of Refraction" description="Index of refraction of the material" min="1" default="1.5" category="Material" />
- <Property name="bumpmap" formalName="Bump Map" description="Grayscale image simulating roughness in the\nlighting" type="Image" category="Material" />
- <Property name="normalmap" formalName="Normal Map" description="Special RGB image describing surface\nroughness" type="Image" category="Material" />
- <Property name="bumpamount" formalName="Bump Amount" description="Strength of bump/normal map effect" type="float" default=".5" category="Material" />
- <Property name="displacementmap" formalName="Displacement Map" description="Grayscale image used to offset vertices\nof the geometry" type="Image" category="Material" />
- <Property name="displaceamount" formalName="Displacement Amount" description="Distance to offset vertices" type="float" default="20" category="Material" />
- <Property name="opacity" formalName="Opacity" description="Visibility of the geometry for this material." min="0" max="100" default="100" category="Material" />
- <Property name="opacitymap" formalName="Opacity Map" description="Image to vary the opacity across the material" type="Image" category="Material" />
- <Property name="emissivecolor" formalName="Emissive Color" description="Color of self-illumination for this material" type="Color" default="1 1 1" category="Material" />
- <Property name="emissivepower" formalName="Emissive Power" description="Amount of self-illumination for this material\n(will not light other objects)" category="Material" />
- <Property name="emissivemap" formalName="Emissive Map" description="Image to vary the emissive power across\nthe material" type="Image" category="Material" />
- <Property name="emissivemap2" formalName="Emissive Map 2" description="Second image to modulate the emissive power\nacross the material" type="Image" category="Material" />
- <Property name="translucencymap" formalName="Translucency Map" description="Grayscale image controlling how much light can\npass through the material from behind" type="Image" category="Material" />
- <Property name="translucentfalloff" formalName="Translucent Falloff" description="Translucent Falloff" type="float" default="1" category="Material" />
- <Property name="diffuselightwrap" formalName="Diffuse Light Wrap" description="Diffuse Light Wrap" type="float" min='0.0' max='1.0' category="Material" />
- </Material>
- <ReferencedMaterial>
- <Property name="referencedmaterial" formalName="Referenced Material" description="Material to use all settings from" type="ObjectRef" category="Material" />
- </ReferencedMaterial>
+
<Model>
<!-- Basic Properties -->
<Property name="name" formalName="Name" type="String" default="Model" category="Basic Properties" description="Object name" />
@@ -334,40 +425,46 @@
<Property name="edgetess" formalName="Edge Tessellation" description="Max Tessellation amount" min="1" max="64" default="4" />
<Property name="innertess" formalName="Inner Tessellation" description="Min Tessellation amount" min="1" max="64" default="4" />-->
</Model>
- <Node>
- <Event name="onPressureDown" category="Gesture" />
- <Event name="onPressureUp" category="Gesture" />
- <Event name="onTap" category="Gesture" />
- <!--
- <Event name="onDoubleTap" category="Gesture" />
- <Event name="onSingleTap" category="Gesture" />
- <Event name="onOnePointDragStart" category="Gesture" />
- <Event name="onOnePointDrag" category="Gesture" />
- <Event name="onOnePointDragRelease" category="Gesture" />
- <Event name="onTwoPointDragStart" category="Gesture" />
- <Event name="onTwoPointDrag" category="Gesture" />
- <Event name="onTwoPointDragRelease" category="Gesture" />
- <Event name="onSwipeLeft" category="Gesture" />
- <Event name="onSwipeRight" category="Gesture" />
- <Event name="onSwipeUp" category="Gesture" />
- <Event name="onSwipeDown" category="Gesture" />
- <Event name="onTwoPointSwipeLeft" category="Gesture" />
- <Event name="onTwoPointSwipeRight" category="Gesture" />
- <Event name="onTwoPointSwipeUp" category="Gesture" />
- <Event name="onTwoPointSwipeDown" category="Gesture" />
+
+ <Text>
+ <!-- Basic Properties -->
+ <Property name="name" formalName="Name" type="String" default="Light" category="Basic Properties" description="Object name" />
+ <Property name="eyeball" formalName="Visible" type="Boolean" default="True" category="Basic Properties" description="Item visibility" controllable="True" />
+ <Property name="position" formalName="Position" type="Vector" category="Basic Properties" description="Location in local space" />
+ <Property name="rotation" formalName="Rotation" type="Rotation" category="Basic Properties" description="Rotation around local axes" />
+ <Property name="scale" formalName="Scale" type="Vector" default="1 1 1" category="Basic Properties" description="Size adjustments along local axes" />
+ <Property name="pivot" formalName="Pivot" type="Vector" category="Basic Properties" description="Offset of the contents away from the local center" />
+
+ <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" hidden="True" category="Basic Properties" />
+
+ <!-- Format -->
+ <Property name="textstring" formalName="Text String" type="MultiLineString" default="Text" category="Format" description="Text String" controllable="True" />
+ <Property name="textcolor" formalName="Text Color" type="Color" default="1 1 1" category="Format" description="Text Color" controllable="True" />
+ <Property name="font" formalName="Font" type="Font" default="TitilliumWeb-Regular" category="Format" description="Font" />
+ <!-- HW accelerated fonts not supported
+ <Property name="enableacceleratedfont" formalName="Hardware accelerated font" description="Enabled hardware acclerated font" type="Boolean" default="false" category="Format" />
-->
+ <Property name="size" formalName="Font Size" description="Font Size" type="FontSize" default="36" animatable="False" category="Format" />
+ <Property name="horzalign" formalName="Horizontal Alignment" description="Horizontal Alignment" list="Left:Center:Right" default="Center" category="Format" />
+ <Property name="vertalign" formalName="Vertical Alignment" description="Vertical Alignment" list="Top:Middle:Bottom" default="Middle" category="Format" />
+ <Property name="leading" formalName="Leading" description="Leading" category="Format" />
+ <Property name="tracking" formalName="Tracking" description="Tracking" category="Format" />
+ <Property name="boundingbox" formalName="Text Area" description="Fixed size text area. If not set,\ntext area grows with text." type="Float2" default="0 0" category="Format" />
+ <Property name="wordwrap" formalName="Word Wrapping" description="Word wrapping. Has effect only if fixed size\ntext area is used.\nClip: Cut text if it does not fit.\nWrapWord: Wrap between words, if possible.\nWrapAnywhere: Wrap even in the middle\nof words." list="Clip:WrapWord:WrapAnywhere" default="WrapWord" category="Format" />
+ <Property name="elide" formalName="Eliding" description="Elide text that does not fit the\ntext area. Has effect only if\nfixed text area is defined." list="ElideNone:ElideLeft:ElideMiddle:ElideRight" default="ElideNone" category="Format" />
- <Property name="position" formalName="Position" description="Location in local space" type="Vector" />
- <Property name="rotation" formalName="Rotation" description="Rotation around local axes" type="Rotation" />
- <Property name="scale" formalName="Scale" description="Size adjustments along local axes" type="Vector" default="1 1 1" />
- <Property name="pivot" formalName="Pivot" description="Offset of the contents away from the\nlocal center" type="Vector" />
- <Property name="opacity" formalName="Opacity" description="How much the element (and its children)\nocclude items behind them" min="0" max="100" default="100" />
- <Property name="rotationorder" formalName="Rotation Order" description="Rotation Order" list="XYZ:YZX:ZXY:XZY:YXZ:ZYX:XYZr:YZXr:ZXYr:XZYr:YXZr:ZYXr" default="YXZ" hidden="True"/>
- <Property name="orientation" formalName="Orientation" description="Orientation" list="Left Handed:Right Handed" default="Left Handed" hidden="True"/>
- <Property name="boneid" type="Long" hidden="True" default="-1" />
- <Property name="ignoresparent" type="Boolean" hidden="True" default="False" />
- </Node>
- <Path>
+ <!-- Shadow -->
+ <Property name="dropshadow" formalName="Drop-Shadow" description="Add a drop-shadow to the text.\nThe shadow is a darker shade of the given color." type="Boolean" default="False" category="Shadow" />
+ <Property name="dropshadowstrength" formalName="Shadow Darkness" description="Darkness of the shadow in percents.\n100 is black, 0 is the same color as the text." min="0" max="100" type="Float" default="80" category="Shadow" />
+ <Property name="dropshadowoffsetx" formalName="Horizontal Offset" description="Horizontal offset of the shadow.\nIt is relative to the font size." min="-100" max="100" type="Float" default="0" category="Shadow" />
+ <Property name="dropshadowoffsety" formalName="Vertical Offset" description="Vertical offset of the shadow.\nIt is relative to the font size." min="-100" max="100" type="Float" default="0" category="Shadow" />
+ <!--To be removed in 2.x (when UIP version is next updated)
+ <Property name="dropshadowoffset" formalName="Shadow Offset" description="Offset of the shadow. It\nis relative to the font size." min="1" max="100" type="Float" default="10" />
+ <Property name="dropshadowhorzalign" formalName="Horizontal Position" description="Horizontal position of the shadow" list="Left:Center:Right" default="Right" />
+ <Property name="dropshadowvertalign" formalName="Vertical Position" description="Vertical position of the shadow" list="Top:Middle:Bottom" default="Bottom" />-->
+ </Text>
+
+ <Path> <!-- (doesn't seem to be in use) -->
<Property name="name" formalName="Name" description="Object name" type="String" default="Path" hidden="False" />
<Property name="opacity" formalName="Opacity" description="How much the element (and its children)\nocclude items behind them" min="0" max="100" default="100" />
<Property name="sourcepath" formalName="Path" description="Path data to use for this path" type="PathBuffer" />
@@ -417,18 +514,21 @@
<ShowIfEqual property='pathtype' value='Painted'/>
</Property>
</Path>
- <SubPath>
+
+ <SubPath> <!-- (doesn't seem to be in use) -->
<Property name="name" formalName="Name" description="Object name" type="String" default="SubPath" hidden="False" />
<Property name='closed' formalName='Closed Path?' type='Boolean' default='False'/>
</SubPath>
- <PathAnchorPoint>
+
+ <PathAnchorPoint> <!-- (doesn't seem to be in use) -->
<Property name="name" formalName="Name" description="Object name" type="String" default="Anchor Point" hidden="False" />
<Property name='position' formalName='Position' type='Float2'/>
<Property name="incomingangle" formalName='Handle Angle' />
<Property name="incomingdistance" formalName="Incoming Distance" />
<Property name="outgoingdistance" formalName="Outgoing Distance" />
</PathAnchorPoint>
- <Particle>
+
+ <Particle> <!-- (doesn't seem to be in use) -->
<Property name="name" formalName="Name" description="Object name" type="String" default="Particle" hidden="False" />
<Property name="particletype" formalName="Particle Type" description="Type of particle System" list="Simple:Smoke:Cloud:Fluid:User" default="Cloud" />
<Property name="opacity" formalName="Opacity" description="How much the element (and its children)\nocclude items behind them" min="0" max="100" default="100" />
@@ -438,40 +538,7 @@
<HideIfEqual property='particletype' value='Cloud'/>
</Property>
</Particle>
- <RenderPlugin>
- <Property name="name" formalName="Name" description="Object name" type="String" default="RenderPlugin" hidden="True" />
- </RenderPlugin>
- <Scene>
- <!-- Background -->
- <Property name="bgcolorenable" formalName="Use Background" category="Background" type="Boolean" default="True" description="Clear the contents to a solid color\nbefore each frame?" />
- <Property name="backgroundcolor" formalName="Background Color" category="Background" type="Color" animatable="False" description="Color to use for the background" />
-
- <Event name="onPressureDown" category="Gesture" />
- <Event name="onPressureUp" category="Gesture" />
- <Event name="onTap" category="Gesture" />
- <!-- Hidden and commented out props -->
- <Property name="name" formalName="Name" category="Basic Properties" type="String" default="Scene" hidden="True" />
- <Property name="eyeball" formalName="Visible" category="Basic Properties" type="Boolean" default="True" hidden="True" description="Item visibility" />
- <!--
- <Event name="onDoubleTap" category="Gesture" />
- <Event name="onSingleTap" category="Gesture" />
- <Event name="onOnePointDragStart" category="Gesture" />
- <Event name="onOnePointDrag" category="Gesture" />
- <Event name="onOnePointDragRelease" category="Gesture" />
- <Event name="onTwoPointDragStart" category="Gesture" />
- <Event name="onTwoPointDrag" category="Gesture" />
- <Event name="onTwoPointDragRelease" category="Gesture" />
- <Event name="onSwipeLeft" category="Gesture" />
- <Event name="onSwipeRight" category="Gesture" />
- <Event name="onSwipeUp" category="Gesture" />
- <Event name="onSwipeDown" category="Gesture" />
- <Event name="onTwoPointSwipeLeft" category="Gesture" />
- <Event name="onTwoPointSwipeRight" category="Gesture" />
- <Event name="onTwoPointSwipeUp" category="Gesture" />
- <Event name="onTwoPointSwipeDown" category="Gesture" />
- -->
- </Scene>
<Slide>
<!-- Play Mode -->
<Property name="playmode" formalName="Play Mode" category="Play Mode" default="Stop at end" animatable="False" list="Stop at end:Looping:PingPong:Ping:Play Through To..." description="Action to take when reaching the end of\nall timebars on this slide" />
@@ -480,9 +547,10 @@
</Property>
<Property name="initialplaystate" formalName="Initial Play State" category="Play Mode" default="Play" animatable="False" list="Play:Pause" description="Do animations start when coming to\nthis slide?" />
</Slide>
+
<SlideOwner>
<Event name="onSlideEnter" category="Slide" description="Fired when the slide is changing" />
- <Event name="onSlideExit" category="Slide" description="Fired when the slide is changing" />
+ <Event name="onSlideExit" category="Slide" description="Fired when the slide is changing" />
<Handler name="Go to Time" category="Time" description="Set the current time on the component.">
<Argument name="Time" description="Time to go do" />
<Argument name="Pause" description="Pause playback at the new time?" type="Boolean" />
@@ -496,40 +564,5 @@
<Handler name="Previous Slide" category="Slide" description="Activate the previous slide of the component." />
<Handler name="Preceding Slide" category="Slide" description="Activate the slide that was previously active." />
</SlideOwner>
- <Text>
- <!-- Basic Properties -->
- <Property name="name" formalName="Name" description="Object name" type="String" default="Light" hidden="False" category="Basic Properties" />
- <Property name="eyeball" formalName="Visible" description="Item visibility" type="Boolean" default="True" hidden="False" controllable="True" category="Basic Properties" />
- <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" hidden="True" category="Basic Properties" />
- <Property name="position" formalName="Position" description="Location in local space" type="Vector" category="Basic Properties" />
- <Property name="rotation" formalName="Rotation" description="Rotation around local axes" type="Rotation" category="Basic Properties" />
- <Property name="scale" formalName="Scale" description="Size adjustments along local axes" type="Vector" default="1 1 1" category="Basic Properties" />
- <Property name="pivot" formalName="Pivot" description="Offset of the contents away from the local center" type="Vector" category="Basic Properties" />
-
- <!-- Format -->
- <Property name="textstring" formalName="Text String" description="Text String" type="MultiLineString" default="Text" controllable="True" category="Format" />
- <Property name="textcolor" formalName="Text Color" description="Text Color" type="Color" default="1 1 1" controllable="True" category="Format" />
- <Property name="font" formalName="Font" description="Font" type="Font" default="TitilliumWeb-Regular" category="Format" />
- <!-- HW accelerated fonts not supported
- <Property name="enableacceleratedfont" formalName="Hardware accelerated font" description="Enabled hardware acclerated font" type="Boolean" default="false" category="Format" />
- -->
- <Property name="size" formalName="Font Size" description="Font Size" type="FontSize" default="36" animatable="False" category="Format" />
- <Property name="horzalign" formalName="Horizontal Alignment" description="Horizontal Alignment" list="Left:Center:Right" default="Center" category="Format" />
- <Property name="vertalign" formalName="Vertical Alignment" description="Vertical Alignment" list="Top:Middle:Bottom" default="Middle" category="Format" />
- <Property name="leading" formalName="Leading" description="Leading" category="Format" />
- <Property name="tracking" formalName="Tracking" description="Tracking" category="Format" />
- <Property name="boundingbox" formalName="Text Area" description="Fixed size text area. If not set,\ntext area grows with text." type="Float2" default="0 0" category="Format" />
- <Property name="wordwrap" formalName="Word Wrapping" description="Word wrapping. Has effect only if fixed size\ntext area is used.\nClip: Cut text if it does not fit.\nWrapWord: Wrap between words, if possible.\nWrapAnywhere: Wrap even in the middle\nof words." list="Clip:WrapWord:WrapAnywhere" default="WrapWord" category="Format" />
- <Property name="elide" formalName="Eliding" description="Elide text that does not fit the\ntext area. Has effect only if\nfixed text area is defined." list="ElideNone:ElideLeft:ElideMiddle:ElideRight" default="ElideNone" category="Format" />
- <!-- Shadow -->
- <Property name="dropshadow" formalName="Drop-Shadow" description="Add a drop-shadow to the text.\nThe shadow is a darker shade of the given color." type="Boolean" default="False" category="Shadow" />
- <Property name="dropshadowstrength" formalName="Shadow Darkness" description="Darkness of the shadow in percents.\n100 is black, 0 is the same color as the text." min="0" max="100" type="Float" default="80" category="Shadow" />
- <Property name="dropshadowoffsetx" formalName="Horizontal Offset" description="Horizontal offset of the shadow.\nIt is relative to the font size." min="-100" max="100" type="Float" default="0" category="Shadow" />
- <Property name="dropshadowoffsety" formalName="Vertical Offset" description="Vertical offset of the shadow.\nIt is relative to the font size." min="-100" max="100" type="Float" default="0" category="Shadow" />
- <!--To be removed in 2.x (when UIP version is next updated)
- <Property name="dropshadowoffset" formalName="Shadow Offset" description="Offset of the shadow. It\nis relative to the font size." min="1" max="100" type="Float" default="10" />
- <Property name="dropshadowhorzalign" formalName="Horizontal Position" description="Horizontal position of the shadow" list="Left:Center:Right" default="Right" />
- <Property name="dropshadowvertalign" formalName="Vertical Position" description="Vertical position of the shadow" list="Top:Middle:Bottom" default="Bottom" />-->
- </Text>
</MetaData>