RUIC 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +3 -3
  3. data/HISTORY +110 -86
  4. data/README.md +220 -220
  5. data/bin/ruic +61 -61
  6. data/gui/TODO +2 -2
  7. data/gui/appattributesmodel.rb +51 -51
  8. data/gui/appelementsmodel.rb +126 -126
  9. data/gui/launch.rb +19 -19
  10. data/gui/makefile +14 -14
  11. data/gui/resources/style/dark.qss +459 -459
  12. data/gui/window.rb +90 -90
  13. data/gui/window.ui +753 -753
  14. data/lib/ruic.rb +191 -190
  15. data/lib/ruic/application.rb +25 -3
  16. data/lib/ruic/assets.rb +441 -436
  17. data/lib/ruic/attributes.rb +179 -178
  18. data/lib/ruic/behaviors.rb +0 -0
  19. data/lib/ruic/effect.rb +31 -31
  20. data/lib/ruic/interfaces.rb +0 -0
  21. data/lib/ruic/nicebytes.rb +29 -0
  22. data/lib/ruic/presentation.rb +6 -3
  23. data/lib/ruic/renderplugin.rb +17 -17
  24. data/lib/ruic/ripl.rb +45 -45
  25. data/lib/ruic/statemachine.rb +6 -0
  26. data/lib/ruic/version.rb +3 -3
  27. data/ruic.gemspec +25 -25
  28. data/test/MetaData-simple.xml +28 -28
  29. data/test/MetaData.xml +435 -435
  30. data/test/customclasses.ruic +29 -29
  31. data/test/filtering.ruic +42 -42
  32. data/test/futureassets.ruic +7 -7
  33. data/test/nonmaster.ruic +20 -20
  34. data/test/paths.ruic +16 -16
  35. data/test/projects/CustomClasses/CustomClasses.uia +7 -7
  36. data/test/projects/CustomClasses/CustomClasses.uip +40 -40
  37. data/test/projects/CustomClasses/FutureAsset.uip +17 -17
  38. data/test/projects/MissingAssets/Existing.uip +87 -87
  39. data/test/projects/MissingAssets/MissingAssets.uia +0 -0
  40. data/test/projects/MissingAssets/MissingAssets.uia-user +14 -14
  41. data/test/projects/MissingAssets/RoundedPlane-1/RoundedPlane-1.import +18 -18
  42. data/test/projects/MissingAssets/RoundedPlane-1/meshes/RoundedPlane.mesh +0 -0
  43. data/test/projects/MissingAssets/effects/effects.txt +0 -0
  44. data/test/projects/MissingAssets/effects/existing.effect +0 -0
  45. data/test/projects/MissingAssets/fonts/Arimo-Regular.ttf +0 -0
  46. data/test/projects/MissingAssets/fonts/Chivo-Black.ttf +0 -0
  47. data/test/projects/MissingAssets/fonts/OFL.txt +0 -0
  48. data/test/projects/MissingAssets/maps/effects/brushnoise.dds +0 -0
  49. data/test/projects/MissingAssets/maps/existing.png +0 -0
  50. data/test/projects/MissingAssets/maps/maps.txt +0 -0
  51. data/test/projects/MissingAssets/maps/materials/concrete_plain.png +0 -0
  52. data/test/projects/MissingAssets/maps/materials/concrete_plain_bump.png +0 -0
  53. data/test/projects/MissingAssets/maps/materials/spherical_checker.png +0 -0
  54. data/test/projects/MissingAssets/materials/concrete.material +0 -0
  55. data/test/projects/MissingAssets/materials/materials.txt +0 -0
  56. data/test/projects/MissingAssets/scripts/existing1.lua +0 -0
  57. data/test/projects/MissingAssets/scripts/existing2.lua +0 -0
  58. data/test/projects/MissingAssets/states/existing.scxml +0 -0
  59. data/test/projects/MissingAssets/tests/interface-navigation.scxml-test +0 -0
  60. data/test/projects/Paths/Paths.uia +4 -4
  61. data/test/projects/Paths/Paths.uip +98 -98
  62. data/test/projects/SimpleScene/SimpleScene.uia +4 -4
  63. data/test/projects/SimpleScene/SimpleScene.uip +35 -35
  64. data/test/properties.ruic +80 -80
  65. data/test/referencematerials.ruic +50 -50
  66. data/test/usage.ruic +54 -54
  67. metadata +5 -54
@@ -48,18 +48,21 @@ class UIC::Presentation
48
48
  parent_class_name = {
49
49
  'CustomMaterial' => 'MaterialBase',
50
50
  'Effect' => 'Effect',
51
- 'Behavior' => 'Behavior'
51
+ 'Behavior' => 'Behavior',
52
+ 'RenderPlugin' => 'RenderPlugin'
52
53
  }
53
54
  @class_by_ref = {}
54
55
  @doc.xpath('/UIP/Project/Classes/*').each do |reference|
55
56
  path = absolute_path( reference['sourcepath'] )
56
57
  next unless File.exist?( path )
57
58
  parent_class = app.metadata.by_name[ parent_class_name[reference.name] ]
59
+ raise "Error, unsupported custom class #{reference.name}" unless parent_class
58
60
  parent_props = parent_class.properties
59
61
  new_defaults = Hash[ reference.attributes.map{ |name,attr| [name,attr.value] }.select{ |name,val| parent_props[name] } ]
60
62
  property_el = case reference.name
61
- when 'CustomMaterial', 'Effect'
62
- Nokogiri.XML(File.read(path,encoding:'utf-8')).at('/*/MetaData')
63
+ when 'CustomMaterial', 'Effect', 'RenderPlugin'
64
+ doc = Nokogiri.XML(File.read(path,encoding:'utf-8'))
65
+ doc.at('/*/MetaData') || doc.at('/*/metadata') # Some render plugins in the wild use lower-case tag name :/
63
66
  when 'Behavior'
64
67
  lua = File.read(path,encoding:'utf-8')
65
68
  meta = lua[ /--\[\[(.+?)(?:--)?\]\]/m, 1 ]
@@ -1,18 +1,18 @@
1
- class UIC::RenderPlugin
2
- include UIC::FileBacked
3
- def initialize( file )
4
- self.file = file
5
- end
6
- end
7
-
8
- class UIC::Application::RenderPlugin < UIC::RenderPlugin
9
- include UIC::ElementBacked
10
- # @!parse extend UIC::ElementBacked::ClassMethods
11
- xmlattribute :id
12
- xmlattribute :src
13
- def initialize(application,el)
14
- self.owner = application
15
- self.el = el
16
- super( application.absolute_path(src) )
17
- end
1
+ class UIC::RenderPlugin
2
+ include UIC::FileBacked
3
+ def initialize( file )
4
+ self.file = file
5
+ end
6
+ end
7
+
8
+ class UIC::Application::RenderPlugin < UIC::RenderPlugin
9
+ include UIC::ElementBacked
10
+ # @!parse extend UIC::ElementBacked::ClassMethods
11
+ xmlattribute :id
12
+ xmlattribute :src
13
+ def initialize(application,el)
14
+ self.owner = application
15
+ self.el = el
16
+ super( application.absolute_path(src) )
17
+ end
18
18
  end
@@ -1,45 +1,45 @@
1
- module Ripl; end
2
-
3
- # Allows [Ripl](https://github.com/cldwalker/ripl) to execute code or print a message after every result.
4
- #
5
- # @example 1) Printing a blank line after each result
6
- # require_relative 'ripl-after-result'
7
- # Ripl::Shell.include Ripl::AfterResult
8
- # Ripl.config.merge! after_result:"\n"
9
- #
10
- # @example 2) Executing arbitrary code with the result
11
- # results = []
12
- # require_relative 'ripl-after-result'
13
- # Ripl::Shell.include Ripl::AfterResult
14
- # Ripl.config.merge! after_result:proc{ |result| results << result }
15
- module Ripl::AfterResult
16
- # @private no need to document the method
17
- def print_result(result)
18
- super unless result.nil? && config[:skip_nil_results]
19
- if after=config[:after_result]
20
- if after.respond_to?(:call)
21
- after.call(result)
22
- else
23
- puts after
24
- end
25
- end
26
- end
27
- end
28
-
29
- # Allows [Ripl](https://github.com/cldwalker/ripl) to wrap lines of output
30
- # and/or prefix each line of the result with the `result_prompt`.
31
- module Ripl::FormatResult
32
- # @private no need to document the method
33
- def format_result(result,conf={})
34
- conf=config if respond_to? :config
35
- result = conf[:to_s] ? result.to_s : result.inspect
36
- result = result.dup if result.frozen?
37
- if limit=conf[:result_line_limit]
38
- match = /^.{#{limit}}.+/o
39
- :go while result.sub!(match){ |line| line.sub /^(?:(.{,#{limit}})[ \t]+|(.{#{limit}}))/o, "\\1\\2\n" }
40
- end
41
-
42
- result.gsub( conf[:prefix_result_lines] ? /^/ : /\A/, conf[:result_prompt] )
43
- end
44
- module_function :format_result
45
- end
1
+ module Ripl; end
2
+
3
+ # Allows [Ripl](https://github.com/cldwalker/ripl) to execute code or print a message after every result.
4
+ #
5
+ # @example 1) Printing a blank line after each result
6
+ # require_relative 'ripl-after-result'
7
+ # Ripl::Shell.include Ripl::AfterResult
8
+ # Ripl.config.merge! after_result:"\n"
9
+ #
10
+ # @example 2) Executing arbitrary code with the result
11
+ # results = []
12
+ # require_relative 'ripl-after-result'
13
+ # Ripl::Shell.include Ripl::AfterResult
14
+ # Ripl.config.merge! after_result:proc{ |result| results << result }
15
+ module Ripl::AfterResult
16
+ # @private no need to document the method
17
+ def print_result(result)
18
+ super unless result.nil? && config[:skip_nil_results]
19
+ if after=config[:after_result]
20
+ if after.respond_to?(:call)
21
+ after.call(result)
22
+ else
23
+ puts after
24
+ end
25
+ end
26
+ end
27
+ end
28
+
29
+ # Allows [Ripl](https://github.com/cldwalker/ripl) to wrap lines of output
30
+ # and/or prefix each line of the result with the `result_prompt`.
31
+ module Ripl::FormatResult
32
+ # @private no need to document the method
33
+ def format_result(result,conf={})
34
+ conf=config if respond_to? :config
35
+ result = conf[:to_s] ? result.to_s : result.inspect
36
+ result = result.dup if result.frozen?
37
+ if limit=conf[:result_line_limit]
38
+ match = /^.{#{limit}}.+/o
39
+ :go while result.sub!(match){ |line| line.sub /^(?:(.{,#{limit}})[ \t]+|(.{#{limit}}))/o, "\\1\\2\n" }
40
+ end
41
+
42
+ result.gsub( conf[:prefix_result_lines] ? /^/ : /\A/, conf[:result_prompt] )
43
+ end
44
+ module_function :format_result
45
+ end
@@ -146,6 +146,12 @@ class UIC::Application::StateMachine < UIC::StateMachine
146
146
  # @return [String] the `uic:id` of the transition that will trigger the attached visual actions.
147
147
  xmlattribute :ref
148
148
 
149
+ # @return [Nokogiri::XML::Element] the Nokogiri element in the `.uia` representing this visual state.
150
+ attr_reader :el
151
+
152
+ # @return [Application::StateMachine] the state machine containing the referenced state.
153
+ attr_reader :machine
154
+
149
155
  def initialize(el,machine)
150
156
  @el = el
151
157
  @machine = machine
@@ -1,3 +1,3 @@
1
- class RUIC
2
- VERSION = '0.6.0'
3
- end
1
+ class RUIC
2
+ VERSION = '0.6.1'
3
+ end
@@ -1,26 +1,26 @@
1
- # encoding: UTF-8
2
- $: << File.expand_path("../lib", __FILE__)
3
- require "ruic/version"
4
-
5
- Gem::Specification.new do |s|
6
- s.name = "RUIC"
7
- s.version = RUIC::VERSION
8
- s.platform = Gem::Platform::RUBY
9
- s.authors = ["Gavin Kistner"]
10
- s.email = ["gavin@phrogz.net"]
11
- s.license = "MIT License"
12
- s.summary = %q{Library and DSL analyzing and manipulating UI Composer applications and presentations.}
13
- s.description = %q{RUIC is a library that understands the XML formats used by NVIDIA's "UI Composer" tool suite. In addition to APIs for analyzing and manipulating these files—the UIC portion of the library—it also includes a mini DSL for writing scripts that can be run by the `ruic` interpreter.}
14
- s.homepage = "https://github.com/Phrogz/RUIC"
15
-
16
- s.add_runtime_dependency "nokogiri", '~> 1'
17
- s.add_runtime_dependency "ripl", '~> 0'
18
- s.add_runtime_dependency "ripl-multi_line", '~> 0'
19
- s.add_runtime_dependency "ripl-irb", '~> 0'
20
-
21
- s.files = `git ls-files`.split("\n")
22
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
23
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
24
- s.require_paths = ["lib"]
25
- s.bindir = 'bin'
1
+ # encoding: UTF-8
2
+ $: << File.expand_path("../lib", __FILE__)
3
+ require "ruic/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "RUIC"
7
+ s.version = RUIC::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Gavin Kistner"]
10
+ s.email = ["gavin@phrogz.net"]
11
+ s.license = "MIT License"
12
+ s.summary = %q{Library and DSL analyzing and manipulating UI Composer applications and presentations.}
13
+ s.description = %q{RUIC is a library that understands the XML formats used by NVIDIA's "UI Composer" tool suite. In addition to APIs for analyzing and manipulating these files—the UIC portion of the library—it also includes a mini DSL for writing scripts that can be run by the `ruic` interpreter.}
14
+ s.homepage = "https://github.com/Phrogz/RUIC"
15
+
16
+ s.add_runtime_dependency "nokogiri", '~> 1'
17
+ s.add_runtime_dependency "ripl", '~> 0'
18
+ s.add_runtime_dependency "ripl-multi_line", '~> 0'
19
+ s.add_runtime_dependency "ripl-irb", '~> 0'
20
+
21
+ s.files = `git ls-files`.split("\n")
22
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
23
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
24
+ s.require_paths = ["lib"]
25
+ s.bindir = 'bin'
26
26
  end
@@ -1,28 +1,28 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <MetaData>
3
- <Alias/>
4
- <Asset>
5
- <Property name="eyeball" formalName="Visible" type="Boolean" default="True" hidden="True" />
6
- </Asset>
7
- <Behavior/>
8
- <Camera/>
9
- <Component/>
10
- <Effect/>
11
- <Group/>
12
- <Image/>
13
- <Layer/>
14
- <Light/>
15
- <MaterialBase/>
16
- <Material/>
17
- <ReferencedMaterial/>
18
- <Model/>
19
- <Node/>
20
- <Path/>
21
- <PathAnchorPoint/>
22
- <RenderPlugin/>
23
- <Scene/>
24
- <Slide/>
25
- <SlideOwner/>
26
- <Text/>
27
- <XYZZY/>
28
- </MetaData>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <MetaData>
3
+ <Alias/>
4
+ <Asset>
5
+ <Property name="eyeball" formalName="Visible" type="Boolean" default="True" hidden="True" />
6
+ </Asset>
7
+ <Behavior/>
8
+ <Camera/>
9
+ <Component/>
10
+ <Effect/>
11
+ <Group/>
12
+ <Image/>
13
+ <Layer/>
14
+ <Light/>
15
+ <MaterialBase/>
16
+ <Material/>
17
+ <ReferencedMaterial/>
18
+ <Model/>
19
+ <Node/>
20
+ <Path/>
21
+ <PathAnchorPoint/>
22
+ <RenderPlugin/>
23
+ <Scene/>
24
+ <Slide/>
25
+ <SlideOwner/>
26
+ <Text/>
27
+ <XYZZY/>
28
+ </MetaData>
@@ -1,435 +1,435 @@
1
- <?xml version="1.0" encoding="UTF-8" ?>
2
- <MetaData>
3
- <Category name="Custom Events" description="Custom events exposed on the behavior." icon="Objects-Behavior-Normal.png" highlightIcon="Objects-Behavior-Highlight.png" />
4
- <Category name="Default" description="Default events on all objects" icon="Objects-Folder-Highlight.png" highlightIcon="Objects-Folder-Highlight.png" />
5
- <Category name="Gesture" description="Input from the touch screen or the mouse" icon="Objects-Folder-Highlight.png" highlightIcon="Objects-Folder-Highlight.png" />
6
- <Category name="Slide" description="Events generated when a slide is changing." icon="Objects-Folder-Normal.png" highlightIcon="Objects-Folder-Highlight.png" />
7
- <Category name="Asset" description="Handlers exposed on the asset." icon="Objects-Folder-Normal.png" highlightIcon="Objects-Folder-Highlight.png" />
8
- <Category name="Custom Handlers" description="Custom Handlers exposed on the behavior." icon="Objects-Behavior-Normal.png" highlightIcon="Objects-Behavior-Highlight.png" />
9
- <Category name="Time" description="Handlers exposed on the asset's time." icon="Objects-Folder-Normal.png" highlightIcon="Objects-Folder-Highlight.png" />
10
- <Alias>
11
- <Property name="name" formalName="Name" type="String" default="Alias" hidden="True" />
12
- <Property name="referencednode" formalName="Reference" description="Original element (e.g. group, component, model) to clone" type="ObjectRef" />
13
- </Alias>
14
- <Asset>
15
- <Property name="starttime" formalName="Start Time" type="Long" hidden="True" />
16
- <Property name="endtime" formalName="End Time" type="Long" default="10000" hidden="True" />
17
- <Property name="eyeball" formalName="Visible" type="Boolean" default="True" hidden="True" />
18
- <Property name="shy" formalName="Shy" type="Boolean" hidden="True" />
19
- <Property name="sourcepath" type="String" hidden="True" />
20
- <Property name="importfile" type="String" hidden="True" />
21
-
22
- <Handler name="Set Property" category="Asset" description="Set a property to a new value.">
23
- <Argument name="Property Name" formalName="Property" description="Property to change" type="Slide" argumentType="Property" />
24
- <Argument name="Property Value" formalName="New Value" description="New value for the property" type="None" argumentType="Dependent" />
25
- </Handler>
26
- <Handler name="Fire Event" category="Asset" description="Fire an event on the target.">
27
- <Argument name="Event" description="The event to fire" type="None" argumentType="Event" />
28
- </Handler>
29
- </Asset>
30
- <Behavior>
31
- <Property name="name" formalName="Name" type="String" default="Behavior" hidden="True" />
32
- </Behavior>
33
- <Camera>
34
- <Property name="name" formalName="Name" type="String" default="Camera" hidden="True" />
35
- <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" hidden="True" />
36
- <Property name="orthographic" formalName="Orthographic" description="Remove all perspective from the camera?" type="Boolean" animatable="False" />
37
- <Property name="position" formalName="Position" description="Location in local space" type="Vector" default="0 0 -600" />
38
- <Property name="rotation" formalName="Rotation" description="Rotation around local axes" type="Rotation" />
39
- <Property name="scale" formalName="Scale" description="Size adjustments along local axes" type="Vector" default="1 1 1" />
40
- <Property name="pivot" formalName="Pivot" description="Offset of the contents away from the local center" type="Vector" />
41
- <Property name="fov" formalName="Field of View" description="Viewing angle of the camera (how much it can see)" min="1" max="180" default="60">
42
- <ShowIfEqual property="orthographic" value="False"/>
43
- </Property>
44
- <Property name="clipnear" formalName="Clipping Start" description="Near distance at which objects disappear" min="1" max="1000" default="10" />
45
- <Property name="clipfar" formalName="Clipping End" description="Far distance at which objects disappear" default="5000" />
46
- <Property name="scalemode" formalName="Scale Mode" description="Render more content as the layer expands (same size) or scale up the content (fit)" list="Same Size:Fit:Fit Horizontal:Fit Vertical" default="Fit" />
47
- <Property name="scaleanchor" formalName="Scale Anchor" description="Corner of the content to pin as the layer size changes" list="Center:N:NE:E:SE:S:SW:W:NW" default="Center"/>
48
- </Camera>
49
- <Component>
50
- <Property name="name" formalName="Name" type="String" default="Component" hidden="True" />
51
- </Component>
52
- <Effect>
53
- <Property name="name" formalName="Name" type="String" default="Effect" hidden="True" />
54
- </Effect>
55
- <Group>
56
- <Property name="name" formalName="Name" type="String" default="Group" hidden="True" />
57
- <Property name="sourcepath" formalName="Import" description="Path to the source of this group" type="Import" />
58
- </Group>
59
- <Image>
60
- <!--Images and materials don't have lifetimes, so we use a value that we know just won't cause any issues-->
61
- <Property name="endtime" formalName="End Time" type="Long" default="2147483647" hidden="True" />
62
- <Property name="name" formalName="Name" type="String" default="Image" hidden="True" />
63
- <Property name="scaleu" formalName="U Repeat" description="Number of times the image is tiled on the U direction of the material" default="1" />
64
- <Property name="scalev" formalName="V Repeat" description="Number of times the image is tiled on the V direction of the material" default="1" />
65
- <Property name="mappingmode" formalName="Texture Mapping" description="How the image is applied to the material" list="UV Mapping:Environmental Mapping:Light Probe" default="UV Mapping" />
66
- <Property name="tilingmodehorz" formalName="U Tiling" description="How the image is tiled in the U direction" list="Tiled:Mirrored:No Tiling" default="No Tiling" />
67
- <Property name="tilingmodevert" formalName="V Tiling" description="How the image is tiled in the V direction" list="Tiled:Mirrored:No Tiling" default="No Tiling" />
68
- <Property name="rotationuv" formalName="UV Rotation" description="Rotate the image's coordinates" />
69
- <Property name="positionu" formalName="U Position" description="Offset of the image along the U direction of the material" />
70
- <Property name="positionv" formalName="V Position" description="Offset of the image along the V direction of the material" />
71
- <Property name="pivotu" formalName="U Pivot" description="Offset the image in the U direction without affecting rotation center" />
72
- <Property name="pivotv" formalName="V Pivot" description="Offset the image in the V direction without affecting rotation center" />
73
- <Property name="subpresentation" formalName="Sub-Presentation" description="Presentation (or plugin) to use instead of the image" type="Renderable" />
74
- </Image>
75
- <Layer>
76
- <Property name="name" formalName="Name" type="String" default="Layer" hidden="True" />
77
- <Property name="disabledepthtest" formalName="Disable Depth Test" description="Optimize render speed for layers with mostly transparent objects?" type="Boolean" animatable="False"/>
78
- <Property name="progressiveaa" formalName="Progressive AA" description="Improves the visual quality when no items are moving" list="None:2x:4x:8x" default="None" />
79
- <Property name="multisampleaa" formalName="Multisample AA" description="Improves geometry quality, e.g. silhouettes." list="None:2x:4x" default="None" />
80
- <Property name="temporalaa" formalName="Temporal AA" description="Improve overall quality using camera jittering and frame blending?" type="Boolean" default="False"/>
81
- <Property name="background" formalName="Layer Background" description="The color to use for the layer each frame" list="Transparent:SolidColor:Unspecified" default="Transparent" />
82
- <Property name="backgroundcolor" formalName="Background Color" description="The background color for the layer" type="Color" animatable="False">
83
- <ShowIfEqual property="background" value="SolidColor"/>
84
- </Property>
85
- <Property name="horzfields" formalName="Horizontal Fields" description="Properties to use to control the horizontal size and placement" list="Left/Width:Left/Right:Width/Right" default="Left/Width" />
86
- <Property name="left" formalName="Left" description="Distance between presentation and layer left edges">
87
- <ShowIfEqual property="horzfields" value="Left/Width"/>
88
- <ShowIfEqual property="horzfields" value="Left/Right"/>
89
- </Property>
90
- <Property name="leftunits" formalName="Left Units" description="Left distance is percent of overall width or absolute pixels" list="percent:pixels" default="percent">
91
- <ShowIfEqual property="horzfields" value="Left/Width"/>
92
- <ShowIfEqual property="horzfields" value="Left/Right"/>
93
- </Property>
94
- <Property name="width" formalName="Width" description="Overall layer width" default="100">
95
- <ShowIfEqual property="horzfields" value="Left/Width"/>
96
- <ShowIfEqual property="horzfields" value="Width/Right"/>
97
- </Property>
98
- <Property name="widthunits" formalName="Width Units" description="Width is percent of overall width or absolute pixels" list="percent:pixels" default="percent">
99
- <ShowIfEqual property="horzfields" value="Left/Width"/>
100
- <ShowIfEqual property="horzfields" value="Width/Right"/>
101
- </Property>
102
- <Property name="right" formalName="Right" description="Distance between presentation and layer right edges">
103
- <ShowIfEqual property="horzfields" value="Left/Right"/>
104
- <ShowIfEqual property="horzfields" value="Width/Right"/>
105
- </Property>
106
- <Property name="rightunits" formalName="Right Units" description="Right distance is percent of overall width or absolute pixels" list="percent:pixels" default="percent">
107
- <ShowIfEqual property="horzfields" value="Left/Right"/>
108
- <ShowIfEqual property="horzfields" value="Width/Right"/>
109
- </Property>
110
- <Property name="vertfields" formalName="Vertical Fields" description="Properties to use to control the vertical size and placement" list="Top/Height:Top/Bottom:Height/Bottom" default="Top/Height" />
111
- <Property name="top" formalName="Top" description="Distance between presentation and layer top edges.">
112
- <ShowIfEqual property="vertfields" value="Top/Height"/>
113
- <ShowIfEqual property="vertfields" value="Top/Bottom"/>
114
- </Property>
115
- <Property name="topunits" formalName="Top Units" description="Top distance is percent of overall height or absolute pixels" list="percent:pixels" default="percent">
116
- <ShowIfEqual property="vertfields" value="Top/Height"/>
117
- <ShowIfEqual property="vertfields" value="Top/Bottom"/>
118
- </Property>
119
- <Property name="height" formalName="Height" description="Overall layer height." default="100">
120
- <ShowIfEqual property="vertfields" value="Top/Height"/>
121
- <ShowIfEqual property="vertfields" value="Height/Bottom"/>
122
- </Property>
123
- <Property name="heightunits" formalName="Height Units" description="Height is percent of overall height or absolute pixels" list="percent:pixels" default="percent">
124
- <ShowIfEqual property="vertfields" value="Top/Height"/>
125
- <ShowIfEqual property="vertfields" value="Height/Bottom"/>
126
- </Property>
127
- <Property name="bottom" formalName="Bottom" description="Distance between presentation and layer bottom edges">
128
- <ShowIfEqual property="vertfields" value="Top/Bottom"/>
129
- <ShowIfEqual property="vertfields" value="Height/Bottom"/>
130
- </Property>
131
- <Property name="bottomunits" formalName="Bottom Units" description="Bottom distance is percent of overall height or absolute pixels" list="percent:pixels" default="percent">
132
- <ShowIfEqual property="vertfields" value="Top/Bottom"/>
133
- <ShowIfEqual property="vertfields" value="Height/Bottom"/>
134
- </Property>
135
- <Property name="sourcepath" formalName="Sub-Presentation" description="Presentation (or plugin) to render for this layer" type="Renderable" />
136
- <!-- Restating the node properties so they appear at the bottom of the list because they won't be used quite as much -->
137
- <!--CN - removing properties that may force the layer to render offscreen. We aren't ready to support this feature-->
138
- <Property name="position" formalName="Position" description="Position" type="Vector" hidden="True"/>
139
- <Property name="rotation" formalName="Rotation" description="Rotation" type="Rotation" hidden="True" />
140
- <Property name="scale" formalName="Scale" description="Scale" type="Vector" default="1 1 1" hidden="True" />
141
- <Property name="pivot" formalName="Pivot" description="Pivot" type="Vector" hidden="True" />
142
- <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" hidden="True" />
143
-
144
- <Property name="aostrength" formalName="Ambient Occlusion" description="Amount of ambient occlusion shading to apply" min="0" max="100" default="0">
145
- <ShowIfEqual property="sourcepath" value=""/>
146
- </Property>
147
- <Property name="aodistance" formalName="AO Distance" description="Size of the ambient occlusion shading" default="5">
148
- <HideIfEqual property="aostrength" value="0"/>
149
- <ShowIfEqual property="sourcepath" value=""/>
150
- </Property>
151
- <Property name="aosoftness" formalName="AO Softness" description="Magnitude of the blurring used to soften shading" min="0" max="50" default="50">
152
- <HideIfEqual property="aostrength" value="0"/>
153
- <ShowIfEqual property="sourcepath" value=""/>
154
- </Property>
155
- <Property name="aobias" formalName="AO Threshold" description="Remove AO from flat surfaces to prevent artifacts" default="0">
156
- <HideIfEqual property="aostrength" value="0"/>
157
- <ShowIfEqual property="sourcepath" value=""/>
158
- </Property>
159
- <Property name="aosamplerate" formalName="AO Sampling Rate" description="Quality of AO sampling" type="Long" default="2" min="2" max="4">
160
- <HideIfEqual property="aostrength" value="0"/>
161
- <ShowIfEqual property="sourcepath" value=""/>
162
- </Property>
163
- <Property name="aodither" formalName="AO Detail" description="Use close-range detail AO" type="Boolean" default="True">
164
- <HideIfEqual property="aostrength" value="0"/>
165
- <ShowIfEqual property="sourcepath" value=""/>
166
- </Property>
167
-
168
- <Property name="shadowstrength" formalName="Shadow Strength" description="Amount of shadowing to apply" min="0" max="100" default="0" hidden="True">
169
- <ShowIfEqual property="sourcepath" value=""/>
170
- </Property>
171
- <Property name="shadowdist" formalName="Shadow Distance" description="Maximum distance to ray march for shadows test" default="10" hidden="True">
172
- <HideIfEqual property="shadowstrength" value="0"/>
173
- <ShowIfEqual property="sourcepath" value=""/>
174
- </Property>
175
- <Property name="shadowsoftness" formalName="Shadow Softness" description="Amount of softening of the shadow edges" min="0" max="100" default="100" hidden="True">
176
- <HideIfEqual property="shadowstrength" value="0"/>
177
- <ShowIfEqual property="sourcepath" value=""/>
178
- </Property>
179
- <Property name="shadowbias" formalName="Shadow Threshold" description="Remove self-shadowing from flat surfaces" default="0" hidden="True">
180
- <HideIfEqual property="shadowstrength" value="0"/>
181
- <ShowIfEqual property="sourcepath" value=""/>
182
- </Property>
183
-
184
- <Property name="lightprobe" formalName="Light Probe" description="Image used for image-based lighting and reflections" type="Image" />
185
- <Property name="probebright" formalName="IBL brightness" description="Brightness factor for image-based lighting and reflections" default="100" />
186
- <Property name="fastibl" formalName="Fast IBL" description="Use a faster approximation to image-based lighting" type="Boolean" default="True" hidden="True" />
187
- <Property name="probehorizon" formalName="IBL Horizon Cutoff" description="Upper limit for horizon darkening of the light probe" min="-1" max="-0.001" default="-1">
188
- <HideIfEqual property="lightprobe" value=""/>
189
- </Property>
190
- <Property name="lightprobe2" formalName="Secondary Light Probe" description="Image to blend over the primary light probe" type="Image">
191
- <HideIfEqual property="lightprobe" value=""/>
192
- </Property>
193
- <Property name="probe2fade" formalName="Probe Crossfade" description="Blend amount between the primary and seconary probes" min="0.0" max="1.0" default="1.0">
194
- <HideIfEqual property="lightprobe" value=""/>
195
- <HideIfEqual property="lightprobe2" value=""/>
196
- </Property>
197
- <Property name="probe2window" formalName="Secondary Probe Window" description="Texture-U window size used for the moving window (for scrolling textures" min="0.01" max="1.0" default="1.0" hidden="True">
198
- <HideIfEqual property="lightprobe" value=""/>
199
- <HideIfEqual property="lightprobe2" value=""/>
200
- </Property>
201
- <Property name="probe2pos" formalName="Secondary Probe Offset" description="Texture-U window offset used for the moving window" default="0.5" hidden="True">
202
- <HideIfEqual property="lightprobe" value=""/>
203
- <HideIfEqual property="lightprobe2" value=""/>
204
- </Property>
205
- </Layer>
206
- <Light>
207
- <Property name="name" formalName="Name" type="String" default="Light" hidden="True" />
208
- <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" hidden="True" />
209
- <Property name='scope' formalName="Scope" description="Sub portion of the scene graph this light affects. No object means entire scene graph" type='ObjectRef' />
210
- <Property name="lighttype" formalName="Light Type" description="Type of illumination to use" list="Directional:Point:Area" default="Directional" />
211
- <Property name="position" formalName="Position" description="Location in local space" type="Vector"/>
212
- <Property name="rotation" formalName="Rotation" description="Rotation around local axes" type="Rotation" />
213
- <Property name="scale" formalName="Scale" description="Size adjustments along local axes" type="Vector" default="1 1 1" />
214
- <Property name="pivot" formalName="Pivot" description="Offset of the contents away from the local center" type="Vector" />
215
- <Property name="lightdiffuse" formalName="Light Color" description="Color of diffuse lighting effect" type="Color" default="1 1 1"/>
216
- <Property name="lightspecular" formalName="Specular Color" description="Color of specular lighting highlights" type="Color" default="1 1 1"/>
217
- <Property name="lightambient" formalName="Ambient Color" description="Color of unlit areas (black for none)" type="Color"/>
218
- <Property name="brightness" formalName="Brightness" description="Strength of the light" default="100"/>
219
- <Property name="linearfade" formalName="Linear Fade" description="Falloff of the point light" min="0" max="1000">
220
- <ShowIfEqual property="lighttype" value="Point"/>
221
- </Property>
222
- <Property name="expfade" formalName="Exponential Fade" description="Additional falloff" min="0" max="1000">
223
- <ShowIfEqual property="lighttype" value="Point"/>
224
- </Property>
225
- <Property name="areawidth" formalName="Width" description="Width of the surface of the area light" min="0" default="100" hidden="True">
226
- <ShowIfEqual property="lighttype" value="Area"/>
227
- </Property>
228
- <Property name="areaheight" formalName="Height" description="Height of the surface of the area light" min="0" default="100" hidden="True">
229
- <ShowIfEqual property="lighttype" value="Area"/>
230
- </Property>
231
- <Property name="castshadow" formalName="Cast Shadows" description="Enable shadow casting for this light" type="Boolean" default="False">
232
- <HideIfEqual property="lighttype" value="Point"/>
233
- </Property>
234
- <Property name="shadowbias" formalName="Shadow Depth Bias" description="Slight offset to avoid self-shadowing artifacts" default="0">
235
- <HideIfEqual property="lighttype" value="Point"/>
236
- <ShowIfEqual property="castshadow" value="True"/>
237
- </Property>
238
- <Property name="shadowfactor" formalName="Shadow Darken Factor" description="Factor used to darken shadows" default="5.0" min="1.0" max="100.0">
239
- <HideIfEqual property="lighttype" value="Point"/>
240
- <ShowIfEqual property="castshadow" value="True"/>
241
- </Property>
242
- </Light>
243
- <MaterialBase>
244
- <Property name="name" formalName="Name" type="String" default="MaterialBase" hidden="True" />
245
- <Property name="iblprobe" formalName="IBL Override" description="IBL probe to use in place of the layer probe for this material" type="Image" />
246
- </MaterialBase>
247
- <Material>
248
- <Property name="name" formalName="Name" type="String" default="Material" hidden="True" />
249
- <Property name="shaderlighting" formalName="Lighting" description="Light model" list="Pixel:None" default="Pixel" />
250
- <Property name="blendmode" formalName="Blending Mode" description="How this material blends with content behind it" list="Normal:Screen:Multiply" default="Normal" />
251
- <Property name="diffuse" formalName="Diffuse Color" description="Color when lit from any direction" type="Color" default="1 1 1" />
252
- <Property name="diffusemap" formalName="Diffuse Map" description="Image to multiply with diffuse color" type="Image" />
253
- <Property name="diffusemap2" formalName="Diffuse Map 2" description="Image to multiply with diffuse color" type="Image" />
254
- <Property name="diffusemap3" formalName="Diffuse Map 3" description="Image to multiply with diffuse color" type="Image" />
255
- <Property name="specularreflection" formalName="Specular Reflection" description="Image to use as a faked reflection" type="Image" />
256
- <Property name="speculartint" formalName="Specular Tint" type="Color" description="Coloration applied to specular reflections" default="1 1 1"/>
257
- <Property name="specularamount" formalName="Specular Amount" description="Amount of shine/gloss" />
258
- <Property name="specularmap" formalName="Specular Map" description="Image to vary the specular amount across the material" type="Image">
259
- <HideIfEqual property="specularamount" value='0'/>
260
- </Property>
261
- <Property name="specularmodel" formalName="Specular Model" description="Equation to use when calculating specular highlights for CG lights" list="Default:KGGX:KWard" default="Default">
262
- <HideIfEqual property="specularamount" value='0'/>
263
- </Property>
264
- <Property name="specularroughness" formalName="Specular Roughness" description="Softening applied to reflections and highlights" min='0.001' max='1'>
265
- <HideIfEqual property="specularamount" value='0'/>
266
- </Property>
267
- <Property name="fresnelPower" formalName="Fresnel Power" description="Damping of head-on reflections" />
268
- <Property name="ior" formalName="Index of Refraction" description="Angle at which fresnel reflection damping applies" min="0" max="1" default=".2">
269
- <HideIfEqual property="fresnelPower" value="0"/>
270
- </Property>
271
- <Property name="bumpmap" formalName="Bump Map" description="Grayscale image simulating roughness in the lighting" type="Image"/>
272
- <Property name="normalmap" formalName="Normal Map" description="Special RGB image describing surface roughness" type="Image"/>
273
- <Property name="bumpamount" formalName="Bump Amount" description="Strength of bump/normal map effect" type="float" default=".5"/>
274
- <Property name="displacementmap" formalName="Displacement Map" description="Grayscale image used to offset vertices of the geometry" type="Image"/>
275
- <Property name="displaceamount" formalName="Displacement Amount" description="Distance to offset vertices" type="float" default="20">
276
- <HideIfEqual property="displacementmap" value=""/>
277
- </Property>
278
- <Property name="opacity" formalName="Opacity" description="Visibility of the geometry for this material." min="0" max="100" default="100" />
279
- <Property name="opacitymap" formalName="Opacity Map" description="Image to vary the opacity across the material" type="Image" />
280
- <Property name="emissivecolor" formalName="Emissive Color" description="Color of self-illumination for this material" type="Color" default="1 1 1" />
281
- <Property name="emissivepower" formalName="Emissive Power" description="Amount of self-illumination for this material (will not light other objects)" />
282
- <Property name="emissivemap" formalName="Emissive Map" description="Image to vary the emissive power across the material" type="Image" />
283
- <Property name="emissivemap2" formalName="Emissive Map 2" description="Second image to modulate the emissive power across the material" type="Image" />
284
- <Property name="translucencymap" formalName="Translucency Map" description="Grayscale image controlling how much light can pass through the material from behind" type="Image"/>
285
- <Property name="translucentfalloff" formalName="Translucent Falloff" type="float" default="1">
286
- <HideIfEqual property="translucencymap" value=""/>
287
- </Property>
288
- <Property name="diffuselightwrap" formalName="Diffuse Light Wrap" type="float" min='0.0' max='1.0'>
289
- <HideIfEqual property="translucencymap" value=""/>
290
- </Property>
291
- </Material>
292
- <ReferencedMaterial>
293
- <Property name="name" formalName="Name" type="String" default="Material" hidden="True" />
294
- <Property name="referencedmaterial" formalName="Referenced Material" description="Material to use all settings from" type="ObjectRef" />
295
- </ReferencedMaterial>
296
- <Model>
297
- <Property name="name" formalName="Name" type="String" default="Model" hidden="True" />
298
- <Property name="sourcepath" formalName="Mesh" description="Geometry to use for this model" type="Mesh" />
299
- <Property name="poseroot" hidden="True" type="Long" default="-1" />
300
- <Property name="tessellation" formalName="Tessellation Mode" description="Type of tessellation to subdivide the geometry" list="None:Linear:Phong:NPatch" default="None" />
301
- <Property name="edgetess" formalName="Edge Tessellation Value" description="Max Tessellation amount" min="1" max="64" default="4">
302
- <HideIfEqual property="tessellation" value="None"/>
303
- </Property>
304
- <Property name="innertess" formalName="Inner Tessellation Value" description="Min Tessellation amount" min="1" max="64" default="4">
305
- <HideIfEqual property="tessellation" value="None"/>
306
- </Property>
307
- </Model>
308
- <Node>
309
- <Event name="onPressureDown" category="Gesture" />
310
- <Event name="onPressureUp" category="Gesture" />
311
- <Event name="onTap" category="Gesture" />
312
- <Event name="onSingleTap" category="Gesture" />
313
- <Event name="onDoubleTap" category="Gesture" />
314
- <Event name="onOnePointDragStart" category="Gesture" />
315
- <Event name="onOnePointDrag" category="Gesture" />
316
- <Event name="onOnePointDragRelease" category="Gesture" />
317
- <Event name="onTwoPointDragStart" category="Gesture" />
318
- <Event name="onTwoPointDrag" category="Gesture" />
319
- <Event name="onTwoPointDragRelease" category="Gesture" />
320
- <Event name="onSwipeLeft" category="Gesture" />
321
- <Event name="onSwipeRight" category="Gesture" />
322
- <Event name="onSwipeUp" category="Gesture" />
323
- <Event name="onSwipeDown" category="Gesture" />
324
- <Event name="onTwoPointSwipeLeft" category="Gesture" />
325
- <Event name="onTwoPointSwipeRight" category="Gesture" />
326
- <Event name="onTwoPointSwipeUp" category="Gesture" />
327
- <Event name="onTwoPointSwipeDown" category="Gesture" />
328
-
329
- <Property name="position" formalName="Position" description="Location in local space" type="Vector"/>
330
- <Property name="rotation" formalName="Rotation" description="Rotation around local axes" type="Rotation" />
331
- <Property name="scale" formalName="Scale" description="Size adjustments along local axes" type="Vector" default="1 1 1" />
332
- <Property name="pivot" formalName="Pivot" description="Offset of the contents away from the local center" type="Vector" />
333
- <Property name="opacity" formalName="Opacity" description="How much the element (and its children) occlude items behind them" min="0" max="100" default="100" />
334
- <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"/>
335
- <Property name="orientation" formalName="Orientation" description="Orientation" list="Left Handed:Right Handed" default="Left Handed" hidden="True"/>
336
- <Property name="boneid" type="Long" hidden="True" default="-1" />
337
- <Property name="ignoresparent" type="Boolean" hidden="True" default="False" />
338
- </Node>
339
- <Path>
340
- <Property name="name" formalName="Name" type="String" default="Path" hidden="True" />
341
- <Property name='width' formalName="Width" default='5'/>
342
- <Property name="opacity" formalName="Opacity" description="How much the element (and its children) occlude items behind them" min="0" max="100" default="100" />
343
- <Property name='linearerror' formalName="CPU Error" default='1000'/>
344
- <Property name='edgetessamount' formalName="Edge GPU Tess Amount" default='8' min='1' max='64' />
345
- <Property name='innertessamount' formalName="Inner GPU Tess Amount" default='1' min='1' max='64' />
346
- <Property name='begincap' formalName="Begin Capping" list="None:Taper" default="None"/>
347
- <Property name='begincapoffset' formalName='Begin Capping Start Offset' default='10'>
348
- <ShowIfEqual property='begincap' value='Taper'/>
349
- </Property>
350
- <Property name='begincapopacity' formalName='Begin Cap Final Opacity' min='0' max='1'>
351
- <ShowIfEqual property='begincap' value='Taper'/>
352
- </Property>
353
- <Property name='begincapwidth' formalName='Begin Cap Final Width' default='0'>
354
- <ShowIfEqual property='begincap' value='Taper'/>
355
- </Property>
356
- <Property name='endcap' formalName="End Capping" list="None:Taper" default="None"/>
357
- <Property name='endcapoffset' formalName='End Capping Start Offset' default='10'>
358
- <ShowIfEqual property='endcap' value='Taper'/>
359
- </Property>
360
- <Property name='endcapopacity' formalName='End Cap Final Opacity' min='0' max='1'>
361
- <ShowIfEqual property='endcap' value='Taper'/>
362
- </Property>
363
- <Property name='endcapwidth' formalName='End Cap Final Width' default='0'>
364
- <ShowIfEqual property='endcap' value='Taper'/>
365
- </Property>
366
- </Path>
367
- <PathAnchorPoint>
368
- <Property name='position' formalName='Position' type='Float2'/>
369
- <Property name='incomingcontrol' formalName='Incoming Control Point' type='Float2'/>
370
- <Property name='outgoingcontrol' formalName='Outgoing Control Point' type='Float2'/>
371
- </PathAnchorPoint>
372
- <RenderPlugin>
373
- <Property name="name" formalName="Name" type="String" default="RenderPlugin" hidden="True" />
374
- </RenderPlugin>
375
- <Scene>
376
- <Property name="name" formalName="Name" type="String" default="Scene" hidden="True" />
377
- <Property name="bgcolorenable" formalName="Use Background" description="Clear the contents to a solid color before each frame?" type="Boolean" default="True" />
378
- <Property name="backgroundcolor" formalName="Background Color" description="Color to use for the background" type="Color" animatable="False">
379
- <ShowIfEqual property="bgcolorenable" value="True"/>
380
- </Property>
381
- <Event name="onPressureDown" category="Gesture" />
382
- <Event name="onPressureUp" category="Gesture" />
383
- <Event name="onTap" category="Gesture" />
384
- <Event name="onSingleTap" category="Gesture" />
385
- <Event name="onDoubleTap" category="Gesture" />
386
- <Event name="onOnePointDragStart" category="Gesture" />
387
- <Event name="onOnePointDrag" category="Gesture" />
388
- <Event name="onOnePointDragRelease" category="Gesture" />
389
- <Event name="onTwoPointDragStart" category="Gesture" />
390
- <Event name="onTwoPointDrag" category="Gesture" />
391
- <Event name="onTwoPointDragRelease" category="Gesture" />
392
- <Event name="onSwipeLeft" category="Gesture" />
393
- <Event name="onSwipeRight" category="Gesture" />
394
- <Event name="onSwipeUp" category="Gesture" />
395
- <Event name="onSwipeDown" category="Gesture" />
396
- <Event name="onTwoPointSwipeLeft" category="Gesture" />
397
- <Event name="onTwoPointSwipeRight" category="Gesture" />
398
- <Event name="onTwoPointSwipeUp" category="Gesture" />
399
- <Event name="onTwoPointSwipeDown" category="Gesture" />
400
- </Scene>
401
- <Slide>
402
- <Property name="playmode" formalName="Play Mode" description="Action to take when reaching the end of all timebars on this slide" list="Stop at end:Looping:PingPong:Ping:Play Through To..." default="Stop at end" animatable="False" />
403
- <Property name="playthroughto" formalName="Play Through To" description="Slide to go to after this one" type="StringListOrInt" list="Next:Previous" default="Next" animatable="False">
404
- <ShowIfEqual property="playmode" value="Play Through To..."/>
405
- </Property>
406
- <Property name="initialplaystate" formalName="Initial Play State" description="Do animations start when coming to this slide?" list="Play:Pause" default="Play" animatable="False" />
407
- </Slide>
408
- <SlideOwner>
409
- <Event name="onSlideEnter" category="Slide" description="Fired when the slide is changing" />
410
- <Event name="onSlideExit" category="Slide" description="Fired when the slide is changing" />
411
- <Handler name="Go to Time" category="Time" description="Set the current time on the component.">
412
- <Argument name="Time" description="Time to go do" />
413
- <Argument name="Pause" description="Pause playback at the new time?" type="Boolean" />
414
- </Handler>
415
- <Handler name="Play" category="Time" description="Start the component's time playing." />
416
- <Handler name="Pause" category="Time" description="Pause the component's time." />
417
- <Handler name="Go to Slide" category="Slide" description="Go to a specified slide of the component.">
418
- <Argument name="Slide" description="Target slide to go to" type="Slide" argumentType="Slide" />
419
- </Handler>
420
- <Handler name="Next Slide" category="Slide" description="Activate the next slide of the component." />
421
- <Handler name="Previous Slide" category="Slide" description="Activate the previous slide of the component." />
422
- <Handler name="Preceding Slide" category="Slide" description="Activate the slide that was previously active." />
423
- </SlideOwner>
424
- <Text>
425
- <Property name="name" formalName="Name" type="String" default="Text" hidden="True" />
426
- <Property name="textstring" formalName="Text String" description="Text String" type="MultiLineString" default="Text" />
427
- <Property name="textcolor" formalName="Text Color" description="Text Color" type="Color" default="1 1 1" />
428
- <Property name="font" formalName="Font" description="Font" type="Font" default="Arimo-Regular" />
429
- <Property name="size" formalName="Font Size" description="Font Size" type="FontSize" default="24" animatable="False" />
430
- <Property name="horzalign" formalName="Horizontal Alignment" description="Horizontal Alignment" list="Left:Center:Right" default="Center" />
431
- <Property name="vertalign" formalName="Vertical Alignment" description="Vertical Alignment" list="Top:Middle:Bottom" default="Middle" />
432
- <Property name="leading" formalName="Leading" description="Leading" />
433
- <Property name="tracking" formalName="Tracking" description="Tracking" />
434
- </Text>
435
- </MetaData>
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <MetaData>
3
+ <Category name="Custom Events" description="Custom events exposed on the behavior." icon="Objects-Behavior-Normal.png" highlightIcon="Objects-Behavior-Highlight.png" />
4
+ <Category name="Default" description="Default events on all objects" icon="Objects-Folder-Highlight.png" highlightIcon="Objects-Folder-Highlight.png" />
5
+ <Category name="Gesture" description="Input from the touch screen or the mouse" icon="Objects-Folder-Highlight.png" highlightIcon="Objects-Folder-Highlight.png" />
6
+ <Category name="Slide" description="Events generated when a slide is changing." icon="Objects-Folder-Normal.png" highlightIcon="Objects-Folder-Highlight.png" />
7
+ <Category name="Asset" description="Handlers exposed on the asset." icon="Objects-Folder-Normal.png" highlightIcon="Objects-Folder-Highlight.png" />
8
+ <Category name="Custom Handlers" description="Custom Handlers exposed on the behavior." icon="Objects-Behavior-Normal.png" highlightIcon="Objects-Behavior-Highlight.png" />
9
+ <Category name="Time" description="Handlers exposed on the asset's time." icon="Objects-Folder-Normal.png" highlightIcon="Objects-Folder-Highlight.png" />
10
+ <Alias>
11
+ <Property name="name" formalName="Name" type="String" default="Alias" hidden="True" />
12
+ <Property name="referencednode" formalName="Reference" description="Original element (e.g. group, component, model) to clone" type="ObjectRef" />
13
+ </Alias>
14
+ <Asset>
15
+ <Property name="starttime" formalName="Start Time" type="Long" hidden="True" />
16
+ <Property name="endtime" formalName="End Time" type="Long" default="10000" hidden="True" />
17
+ <Property name="eyeball" formalName="Visible" type="Boolean" default="True" hidden="True" />
18
+ <Property name="shy" formalName="Shy" type="Boolean" hidden="True" />
19
+ <Property name="sourcepath" type="String" hidden="True" />
20
+ <Property name="importfile" type="String" hidden="True" />
21
+
22
+ <Handler name="Set Property" category="Asset" description="Set a property to a new value.">
23
+ <Argument name="Property Name" formalName="Property" description="Property to change" type="Slide" argumentType="Property" />
24
+ <Argument name="Property Value" formalName="New Value" description="New value for the property" type="None" argumentType="Dependent" />
25
+ </Handler>
26
+ <Handler name="Fire Event" category="Asset" description="Fire an event on the target.">
27
+ <Argument name="Event" description="The event to fire" type="None" argumentType="Event" />
28
+ </Handler>
29
+ </Asset>
30
+ <Behavior>
31
+ <Property name="name" formalName="Name" type="String" default="Behavior" hidden="True" />
32
+ </Behavior>
33
+ <Camera>
34
+ <Property name="name" formalName="Name" type="String" default="Camera" hidden="True" />
35
+ <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" hidden="True" />
36
+ <Property name="orthographic" formalName="Orthographic" description="Remove all perspective from the camera?" type="Boolean" animatable="False" />
37
+ <Property name="position" formalName="Position" description="Location in local space" type="Vector" default="0 0 -600" />
38
+ <Property name="rotation" formalName="Rotation" description="Rotation around local axes" type="Rotation" />
39
+ <Property name="scale" formalName="Scale" description="Size adjustments along local axes" type="Vector" default="1 1 1" />
40
+ <Property name="pivot" formalName="Pivot" description="Offset of the contents away from the local center" type="Vector" />
41
+ <Property name="fov" formalName="Field of View" description="Viewing angle of the camera (how much it can see)" min="1" max="180" default="60">
42
+ <ShowIfEqual property="orthographic" value="False"/>
43
+ </Property>
44
+ <Property name="clipnear" formalName="Clipping Start" description="Near distance at which objects disappear" min="1" max="1000" default="10" />
45
+ <Property name="clipfar" formalName="Clipping End" description="Far distance at which objects disappear" default="5000" />
46
+ <Property name="scalemode" formalName="Scale Mode" description="Render more content as the layer expands (same size) or scale up the content (fit)" list="Same Size:Fit:Fit Horizontal:Fit Vertical" default="Fit" />
47
+ <Property name="scaleanchor" formalName="Scale Anchor" description="Corner of the content to pin as the layer size changes" list="Center:N:NE:E:SE:S:SW:W:NW" default="Center"/>
48
+ </Camera>
49
+ <Component>
50
+ <Property name="name" formalName="Name" type="String" default="Component" hidden="True" />
51
+ </Component>
52
+ <Effect>
53
+ <Property name="name" formalName="Name" type="String" default="Effect" hidden="True" />
54
+ </Effect>
55
+ <Group>
56
+ <Property name="name" formalName="Name" type="String" default="Group" hidden="True" />
57
+ <Property name="sourcepath" formalName="Import" description="Path to the source of this group" type="Import" />
58
+ </Group>
59
+ <Image>
60
+ <!--Images and materials don't have lifetimes, so we use a value that we know just won't cause any issues-->
61
+ <Property name="endtime" formalName="End Time" type="Long" default="2147483647" hidden="True" />
62
+ <Property name="name" formalName="Name" type="String" default="Image" hidden="True" />
63
+ <Property name="scaleu" formalName="U Repeat" description="Number of times the image is tiled on the U direction of the material" default="1" />
64
+ <Property name="scalev" formalName="V Repeat" description="Number of times the image is tiled on the V direction of the material" default="1" />
65
+ <Property name="mappingmode" formalName="Texture Mapping" description="How the image is applied to the material" list="UV Mapping:Environmental Mapping:Light Probe" default="UV Mapping" />
66
+ <Property name="tilingmodehorz" formalName="U Tiling" description="How the image is tiled in the U direction" list="Tiled:Mirrored:No Tiling" default="No Tiling" />
67
+ <Property name="tilingmodevert" formalName="V Tiling" description="How the image is tiled in the V direction" list="Tiled:Mirrored:No Tiling" default="No Tiling" />
68
+ <Property name="rotationuv" formalName="UV Rotation" description="Rotate the image's coordinates" />
69
+ <Property name="positionu" formalName="U Position" description="Offset of the image along the U direction of the material" />
70
+ <Property name="positionv" formalName="V Position" description="Offset of the image along the V direction of the material" />
71
+ <Property name="pivotu" formalName="U Pivot" description="Offset the image in the U direction without affecting rotation center" />
72
+ <Property name="pivotv" formalName="V Pivot" description="Offset the image in the V direction without affecting rotation center" />
73
+ <Property name="subpresentation" formalName="Sub-Presentation" description="Presentation (or plugin) to use instead of the image" type="Renderable" />
74
+ </Image>
75
+ <Layer>
76
+ <Property name="name" formalName="Name" type="String" default="Layer" hidden="True" />
77
+ <Property name="disabledepthtest" formalName="Disable Depth Test" description="Optimize render speed for layers with mostly transparent objects?" type="Boolean" animatable="False"/>
78
+ <Property name="progressiveaa" formalName="Progressive AA" description="Improves the visual quality when no items are moving" list="None:2x:4x:8x" default="None" />
79
+ <Property name="multisampleaa" formalName="Multisample AA" description="Improves geometry quality, e.g. silhouettes." list="None:2x:4x" default="None" />
80
+ <Property name="temporalaa" formalName="Temporal AA" description="Improve overall quality using camera jittering and frame blending?" type="Boolean" default="False"/>
81
+ <Property name="background" formalName="Layer Background" description="The color to use for the layer each frame" list="Transparent:SolidColor:Unspecified" default="Transparent" />
82
+ <Property name="backgroundcolor" formalName="Background Color" description="The background color for the layer" type="Color" animatable="False">
83
+ <ShowIfEqual property="background" value="SolidColor"/>
84
+ </Property>
85
+ <Property name="horzfields" formalName="Horizontal Fields" description="Properties to use to control the horizontal size and placement" list="Left/Width:Left/Right:Width/Right" default="Left/Width" />
86
+ <Property name="left" formalName="Left" description="Distance between presentation and layer left edges">
87
+ <ShowIfEqual property="horzfields" value="Left/Width"/>
88
+ <ShowIfEqual property="horzfields" value="Left/Right"/>
89
+ </Property>
90
+ <Property name="leftunits" formalName="Left Units" description="Left distance is percent of overall width or absolute pixels" list="percent:pixels" default="percent">
91
+ <ShowIfEqual property="horzfields" value="Left/Width"/>
92
+ <ShowIfEqual property="horzfields" value="Left/Right"/>
93
+ </Property>
94
+ <Property name="width" formalName="Width" description="Overall layer width" default="100">
95
+ <ShowIfEqual property="horzfields" value="Left/Width"/>
96
+ <ShowIfEqual property="horzfields" value="Width/Right"/>
97
+ </Property>
98
+ <Property name="widthunits" formalName="Width Units" description="Width is percent of overall width or absolute pixels" list="percent:pixels" default="percent">
99
+ <ShowIfEqual property="horzfields" value="Left/Width"/>
100
+ <ShowIfEqual property="horzfields" value="Width/Right"/>
101
+ </Property>
102
+ <Property name="right" formalName="Right" description="Distance between presentation and layer right edges">
103
+ <ShowIfEqual property="horzfields" value="Left/Right"/>
104
+ <ShowIfEqual property="horzfields" value="Width/Right"/>
105
+ </Property>
106
+ <Property name="rightunits" formalName="Right Units" description="Right distance is percent of overall width or absolute pixels" list="percent:pixels" default="percent">
107
+ <ShowIfEqual property="horzfields" value="Left/Right"/>
108
+ <ShowIfEqual property="horzfields" value="Width/Right"/>
109
+ </Property>
110
+ <Property name="vertfields" formalName="Vertical Fields" description="Properties to use to control the vertical size and placement" list="Top/Height:Top/Bottom:Height/Bottom" default="Top/Height" />
111
+ <Property name="top" formalName="Top" description="Distance between presentation and layer top edges.">
112
+ <ShowIfEqual property="vertfields" value="Top/Height"/>
113
+ <ShowIfEqual property="vertfields" value="Top/Bottom"/>
114
+ </Property>
115
+ <Property name="topunits" formalName="Top Units" description="Top distance is percent of overall height or absolute pixels" list="percent:pixels" default="percent">
116
+ <ShowIfEqual property="vertfields" value="Top/Height"/>
117
+ <ShowIfEqual property="vertfields" value="Top/Bottom"/>
118
+ </Property>
119
+ <Property name="height" formalName="Height" description="Overall layer height." default="100">
120
+ <ShowIfEqual property="vertfields" value="Top/Height"/>
121
+ <ShowIfEqual property="vertfields" value="Height/Bottom"/>
122
+ </Property>
123
+ <Property name="heightunits" formalName="Height Units" description="Height is percent of overall height or absolute pixels" list="percent:pixels" default="percent">
124
+ <ShowIfEqual property="vertfields" value="Top/Height"/>
125
+ <ShowIfEqual property="vertfields" value="Height/Bottom"/>
126
+ </Property>
127
+ <Property name="bottom" formalName="Bottom" description="Distance between presentation and layer bottom edges">
128
+ <ShowIfEqual property="vertfields" value="Top/Bottom"/>
129
+ <ShowIfEqual property="vertfields" value="Height/Bottom"/>
130
+ </Property>
131
+ <Property name="bottomunits" formalName="Bottom Units" description="Bottom distance is percent of overall height or absolute pixels" list="percent:pixels" default="percent">
132
+ <ShowIfEqual property="vertfields" value="Top/Bottom"/>
133
+ <ShowIfEqual property="vertfields" value="Height/Bottom"/>
134
+ </Property>
135
+ <Property name="sourcepath" formalName="Sub-Presentation" description="Presentation (or plugin) to render for this layer" type="Renderable" />
136
+ <!-- Restating the node properties so they appear at the bottom of the list because they won't be used quite as much -->
137
+ <!--CN - removing properties that may force the layer to render offscreen. We aren't ready to support this feature-->
138
+ <Property name="position" formalName="Position" description="Position" type="Vector" hidden="True"/>
139
+ <Property name="rotation" formalName="Rotation" description="Rotation" type="Rotation" hidden="True" />
140
+ <Property name="scale" formalName="Scale" description="Scale" type="Vector" default="1 1 1" hidden="True" />
141
+ <Property name="pivot" formalName="Pivot" description="Pivot" type="Vector" hidden="True" />
142
+ <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" hidden="True" />
143
+
144
+ <Property name="aostrength" formalName="Ambient Occlusion" description="Amount of ambient occlusion shading to apply" min="0" max="100" default="0">
145
+ <ShowIfEqual property="sourcepath" value=""/>
146
+ </Property>
147
+ <Property name="aodistance" formalName="AO Distance" description="Size of the ambient occlusion shading" default="5">
148
+ <HideIfEqual property="aostrength" value="0"/>
149
+ <ShowIfEqual property="sourcepath" value=""/>
150
+ </Property>
151
+ <Property name="aosoftness" formalName="AO Softness" description="Magnitude of the blurring used to soften shading" min="0" max="50" default="50">
152
+ <HideIfEqual property="aostrength" value="0"/>
153
+ <ShowIfEqual property="sourcepath" value=""/>
154
+ </Property>
155
+ <Property name="aobias" formalName="AO Threshold" description="Remove AO from flat surfaces to prevent artifacts" default="0">
156
+ <HideIfEqual property="aostrength" value="0"/>
157
+ <ShowIfEqual property="sourcepath" value=""/>
158
+ </Property>
159
+ <Property name="aosamplerate" formalName="AO Sampling Rate" description="Quality of AO sampling" type="Long" default="2" min="2" max="4">
160
+ <HideIfEqual property="aostrength" value="0"/>
161
+ <ShowIfEqual property="sourcepath" value=""/>
162
+ </Property>
163
+ <Property name="aodither" formalName="AO Detail" description="Use close-range detail AO" type="Boolean" default="True">
164
+ <HideIfEqual property="aostrength" value="0"/>
165
+ <ShowIfEqual property="sourcepath" value=""/>
166
+ </Property>
167
+
168
+ <Property name="shadowstrength" formalName="Shadow Strength" description="Amount of shadowing to apply" min="0" max="100" default="0" hidden="True">
169
+ <ShowIfEqual property="sourcepath" value=""/>
170
+ </Property>
171
+ <Property name="shadowdist" formalName="Shadow Distance" description="Maximum distance to ray march for shadows test" default="10" hidden="True">
172
+ <HideIfEqual property="shadowstrength" value="0"/>
173
+ <ShowIfEqual property="sourcepath" value=""/>
174
+ </Property>
175
+ <Property name="shadowsoftness" formalName="Shadow Softness" description="Amount of softening of the shadow edges" min="0" max="100" default="100" hidden="True">
176
+ <HideIfEqual property="shadowstrength" value="0"/>
177
+ <ShowIfEqual property="sourcepath" value=""/>
178
+ </Property>
179
+ <Property name="shadowbias" formalName="Shadow Threshold" description="Remove self-shadowing from flat surfaces" default="0" hidden="True">
180
+ <HideIfEqual property="shadowstrength" value="0"/>
181
+ <ShowIfEqual property="sourcepath" value=""/>
182
+ </Property>
183
+
184
+ <Property name="lightprobe" formalName="Light Probe" description="Image used for image-based lighting and reflections" type="Image" />
185
+ <Property name="probebright" formalName="IBL brightness" description="Brightness factor for image-based lighting and reflections" default="100" />
186
+ <Property name="fastibl" formalName="Fast IBL" description="Use a faster approximation to image-based lighting" type="Boolean" default="True" hidden="True" />
187
+ <Property name="probehorizon" formalName="IBL Horizon Cutoff" description="Upper limit for horizon darkening of the light probe" min="-1" max="-0.001" default="-1">
188
+ <HideIfEqual property="lightprobe" value=""/>
189
+ </Property>
190
+ <Property name="lightprobe2" formalName="Secondary Light Probe" description="Image to blend over the primary light probe" type="Image">
191
+ <HideIfEqual property="lightprobe" value=""/>
192
+ </Property>
193
+ <Property name="probe2fade" formalName="Probe Crossfade" description="Blend amount between the primary and seconary probes" min="0.0" max="1.0" default="1.0">
194
+ <HideIfEqual property="lightprobe" value=""/>
195
+ <HideIfEqual property="lightprobe2" value=""/>
196
+ </Property>
197
+ <Property name="probe2window" formalName="Secondary Probe Window" description="Texture-U window size used for the moving window (for scrolling textures" min="0.01" max="1.0" default="1.0" hidden="True">
198
+ <HideIfEqual property="lightprobe" value=""/>
199
+ <HideIfEqual property="lightprobe2" value=""/>
200
+ </Property>
201
+ <Property name="probe2pos" formalName="Secondary Probe Offset" description="Texture-U window offset used for the moving window" default="0.5" hidden="True">
202
+ <HideIfEqual property="lightprobe" value=""/>
203
+ <HideIfEqual property="lightprobe2" value=""/>
204
+ </Property>
205
+ </Layer>
206
+ <Light>
207
+ <Property name="name" formalName="Name" type="String" default="Light" hidden="True" />
208
+ <Property name="opacity" formalName="Opacity" min="0" max="100" default="100" hidden="True" />
209
+ <Property name='scope' formalName="Scope" description="Sub portion of the scene graph this light affects. No object means entire scene graph" type='ObjectRef' />
210
+ <Property name="lighttype" formalName="Light Type" description="Type of illumination to use" list="Directional:Point:Area" default="Directional" />
211
+ <Property name="position" formalName="Position" description="Location in local space" type="Vector"/>
212
+ <Property name="rotation" formalName="Rotation" description="Rotation around local axes" type="Rotation" />
213
+ <Property name="scale" formalName="Scale" description="Size adjustments along local axes" type="Vector" default="1 1 1" />
214
+ <Property name="pivot" formalName="Pivot" description="Offset of the contents away from the local center" type="Vector" />
215
+ <Property name="lightdiffuse" formalName="Light Color" description="Color of diffuse lighting effect" type="Color" default="1 1 1"/>
216
+ <Property name="lightspecular" formalName="Specular Color" description="Color of specular lighting highlights" type="Color" default="1 1 1"/>
217
+ <Property name="lightambient" formalName="Ambient Color" description="Color of unlit areas (black for none)" type="Color"/>
218
+ <Property name="brightness" formalName="Brightness" description="Strength of the light" default="100"/>
219
+ <Property name="linearfade" formalName="Linear Fade" description="Falloff of the point light" min="0" max="1000">
220
+ <ShowIfEqual property="lighttype" value="Point"/>
221
+ </Property>
222
+ <Property name="expfade" formalName="Exponential Fade" description="Additional falloff" min="0" max="1000">
223
+ <ShowIfEqual property="lighttype" value="Point"/>
224
+ </Property>
225
+ <Property name="areawidth" formalName="Width" description="Width of the surface of the area light" min="0" default="100" hidden="True">
226
+ <ShowIfEqual property="lighttype" value="Area"/>
227
+ </Property>
228
+ <Property name="areaheight" formalName="Height" description="Height of the surface of the area light" min="0" default="100" hidden="True">
229
+ <ShowIfEqual property="lighttype" value="Area"/>
230
+ </Property>
231
+ <Property name="castshadow" formalName="Cast Shadows" description="Enable shadow casting for this light" type="Boolean" default="False">
232
+ <HideIfEqual property="lighttype" value="Point"/>
233
+ </Property>
234
+ <Property name="shadowbias" formalName="Shadow Depth Bias" description="Slight offset to avoid self-shadowing artifacts" default="0">
235
+ <HideIfEqual property="lighttype" value="Point"/>
236
+ <ShowIfEqual property="castshadow" value="True"/>
237
+ </Property>
238
+ <Property name="shadowfactor" formalName="Shadow Darken Factor" description="Factor used to darken shadows" default="5.0" min="1.0" max="100.0">
239
+ <HideIfEqual property="lighttype" value="Point"/>
240
+ <ShowIfEqual property="castshadow" value="True"/>
241
+ </Property>
242
+ </Light>
243
+ <MaterialBase>
244
+ <Property name="name" formalName="Name" type="String" default="MaterialBase" hidden="True" />
245
+ <Property name="iblprobe" formalName="IBL Override" description="IBL probe to use in place of the layer probe for this material" type="Image" />
246
+ </MaterialBase>
247
+ <Material>
248
+ <Property name="name" formalName="Name" type="String" default="Material" hidden="True" />
249
+ <Property name="shaderlighting" formalName="Lighting" description="Light model" list="Pixel:None" default="Pixel" />
250
+ <Property name="blendmode" formalName="Blending Mode" description="How this material blends with content behind it" list="Normal:Screen:Multiply" default="Normal" />
251
+ <Property name="diffuse" formalName="Diffuse Color" description="Color when lit from any direction" type="Color" default="1 1 1" />
252
+ <Property name="diffusemap" formalName="Diffuse Map" description="Image to multiply with diffuse color" type="Image" />
253
+ <Property name="diffusemap2" formalName="Diffuse Map 2" description="Image to multiply with diffuse color" type="Image" />
254
+ <Property name="diffusemap3" formalName="Diffuse Map 3" description="Image to multiply with diffuse color" type="Image" />
255
+ <Property name="specularreflection" formalName="Specular Reflection" description="Image to use as a faked reflection" type="Image" />
256
+ <Property name="speculartint" formalName="Specular Tint" type="Color" description="Coloration applied to specular reflections" default="1 1 1"/>
257
+ <Property name="specularamount" formalName="Specular Amount" description="Amount of shine/gloss" />
258
+ <Property name="specularmap" formalName="Specular Map" description="Image to vary the specular amount across the material" type="Image">
259
+ <HideIfEqual property="specularamount" value='0'/>
260
+ </Property>
261
+ <Property name="specularmodel" formalName="Specular Model" description="Equation to use when calculating specular highlights for CG lights" list="Default:KGGX:KWard" default="Default">
262
+ <HideIfEqual property="specularamount" value='0'/>
263
+ </Property>
264
+ <Property name="specularroughness" formalName="Specular Roughness" description="Softening applied to reflections and highlights" min='0.001' max='1'>
265
+ <HideIfEqual property="specularamount" value='0'/>
266
+ </Property>
267
+ <Property name="fresnelPower" formalName="Fresnel Power" description="Damping of head-on reflections" />
268
+ <Property name="ior" formalName="Index of Refraction" description="Angle at which fresnel reflection damping applies" min="0" max="1" default=".2">
269
+ <HideIfEqual property="fresnelPower" value="0"/>
270
+ </Property>
271
+ <Property name="bumpmap" formalName="Bump Map" description="Grayscale image simulating roughness in the lighting" type="Image"/>
272
+ <Property name="normalmap" formalName="Normal Map" description="Special RGB image describing surface roughness" type="Image"/>
273
+ <Property name="bumpamount" formalName="Bump Amount" description="Strength of bump/normal map effect" type="float" default=".5"/>
274
+ <Property name="displacementmap" formalName="Displacement Map" description="Grayscale image used to offset vertices of the geometry" type="Image"/>
275
+ <Property name="displaceamount" formalName="Displacement Amount" description="Distance to offset vertices" type="float" default="20">
276
+ <HideIfEqual property="displacementmap" value=""/>
277
+ </Property>
278
+ <Property name="opacity" formalName="Opacity" description="Visibility of the geometry for this material." min="0" max="100" default="100" />
279
+ <Property name="opacitymap" formalName="Opacity Map" description="Image to vary the opacity across the material" type="Image" />
280
+ <Property name="emissivecolor" formalName="Emissive Color" description="Color of self-illumination for this material" type="Color" default="1 1 1" />
281
+ <Property name="emissivepower" formalName="Emissive Power" description="Amount of self-illumination for this material (will not light other objects)" />
282
+ <Property name="emissivemap" formalName="Emissive Map" description="Image to vary the emissive power across the material" type="Image" />
283
+ <Property name="emissivemap2" formalName="Emissive Map 2" description="Second image to modulate the emissive power across the material" type="Image" />
284
+ <Property name="translucencymap" formalName="Translucency Map" description="Grayscale image controlling how much light can pass through the material from behind" type="Image"/>
285
+ <Property name="translucentfalloff" formalName="Translucent Falloff" type="float" default="1">
286
+ <HideIfEqual property="translucencymap" value=""/>
287
+ </Property>
288
+ <Property name="diffuselightwrap" formalName="Diffuse Light Wrap" type="float" min='0.0' max='1.0'>
289
+ <HideIfEqual property="translucencymap" value=""/>
290
+ </Property>
291
+ </Material>
292
+ <ReferencedMaterial>
293
+ <Property name="name" formalName="Name" type="String" default="Material" hidden="True" />
294
+ <Property name="referencedmaterial" formalName="Referenced Material" description="Material to use all settings from" type="ObjectRef" />
295
+ </ReferencedMaterial>
296
+ <Model>
297
+ <Property name="name" formalName="Name" type="String" default="Model" hidden="True" />
298
+ <Property name="sourcepath" formalName="Mesh" description="Geometry to use for this model" type="Mesh" />
299
+ <Property name="poseroot" hidden="True" type="Long" default="-1" />
300
+ <Property name="tessellation" formalName="Tessellation Mode" description="Type of tessellation to subdivide the geometry" list="None:Linear:Phong:NPatch" default="None" />
301
+ <Property name="edgetess" formalName="Edge Tessellation Value" description="Max Tessellation amount" min="1" max="64" default="4">
302
+ <HideIfEqual property="tessellation" value="None"/>
303
+ </Property>
304
+ <Property name="innertess" formalName="Inner Tessellation Value" description="Min Tessellation amount" min="1" max="64" default="4">
305
+ <HideIfEqual property="tessellation" value="None"/>
306
+ </Property>
307
+ </Model>
308
+ <Node>
309
+ <Event name="onPressureDown" category="Gesture" />
310
+ <Event name="onPressureUp" category="Gesture" />
311
+ <Event name="onTap" category="Gesture" />
312
+ <Event name="onSingleTap" category="Gesture" />
313
+ <Event name="onDoubleTap" category="Gesture" />
314
+ <Event name="onOnePointDragStart" category="Gesture" />
315
+ <Event name="onOnePointDrag" category="Gesture" />
316
+ <Event name="onOnePointDragRelease" category="Gesture" />
317
+ <Event name="onTwoPointDragStart" category="Gesture" />
318
+ <Event name="onTwoPointDrag" category="Gesture" />
319
+ <Event name="onTwoPointDragRelease" category="Gesture" />
320
+ <Event name="onSwipeLeft" category="Gesture" />
321
+ <Event name="onSwipeRight" category="Gesture" />
322
+ <Event name="onSwipeUp" category="Gesture" />
323
+ <Event name="onSwipeDown" category="Gesture" />
324
+ <Event name="onTwoPointSwipeLeft" category="Gesture" />
325
+ <Event name="onTwoPointSwipeRight" category="Gesture" />
326
+ <Event name="onTwoPointSwipeUp" category="Gesture" />
327
+ <Event name="onTwoPointSwipeDown" category="Gesture" />
328
+
329
+ <Property name="position" formalName="Position" description="Location in local space" type="Vector"/>
330
+ <Property name="rotation" formalName="Rotation" description="Rotation around local axes" type="Rotation" />
331
+ <Property name="scale" formalName="Scale" description="Size adjustments along local axes" type="Vector" default="1 1 1" />
332
+ <Property name="pivot" formalName="Pivot" description="Offset of the contents away from the local center" type="Vector" />
333
+ <Property name="opacity" formalName="Opacity" description="How much the element (and its children) occlude items behind them" min="0" max="100" default="100" />
334
+ <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"/>
335
+ <Property name="orientation" formalName="Orientation" description="Orientation" list="Left Handed:Right Handed" default="Left Handed" hidden="True"/>
336
+ <Property name="boneid" type="Long" hidden="True" default="-1" />
337
+ <Property name="ignoresparent" type="Boolean" hidden="True" default="False" />
338
+ </Node>
339
+ <Path>
340
+ <Property name="name" formalName="Name" type="String" default="Path" hidden="True" />
341
+ <Property name='width' formalName="Width" default='5'/>
342
+ <Property name="opacity" formalName="Opacity" description="How much the element (and its children) occlude items behind them" min="0" max="100" default="100" />
343
+ <Property name='linearerror' formalName="CPU Error" default='1000'/>
344
+ <Property name='edgetessamount' formalName="Edge GPU Tess Amount" default='8' min='1' max='64' />
345
+ <Property name='innertessamount' formalName="Inner GPU Tess Amount" default='1' min='1' max='64' />
346
+ <Property name='begincap' formalName="Begin Capping" list="None:Taper" default="None"/>
347
+ <Property name='begincapoffset' formalName='Begin Capping Start Offset' default='10'>
348
+ <ShowIfEqual property='begincap' value='Taper'/>
349
+ </Property>
350
+ <Property name='begincapopacity' formalName='Begin Cap Final Opacity' min='0' max='1'>
351
+ <ShowIfEqual property='begincap' value='Taper'/>
352
+ </Property>
353
+ <Property name='begincapwidth' formalName='Begin Cap Final Width' default='0'>
354
+ <ShowIfEqual property='begincap' value='Taper'/>
355
+ </Property>
356
+ <Property name='endcap' formalName="End Capping" list="None:Taper" default="None"/>
357
+ <Property name='endcapoffset' formalName='End Capping Start Offset' default='10'>
358
+ <ShowIfEqual property='endcap' value='Taper'/>
359
+ </Property>
360
+ <Property name='endcapopacity' formalName='End Cap Final Opacity' min='0' max='1'>
361
+ <ShowIfEqual property='endcap' value='Taper'/>
362
+ </Property>
363
+ <Property name='endcapwidth' formalName='End Cap Final Width' default='0'>
364
+ <ShowIfEqual property='endcap' value='Taper'/>
365
+ </Property>
366
+ </Path>
367
+ <PathAnchorPoint>
368
+ <Property name='position' formalName='Position' type='Float2'/>
369
+ <Property name='incomingcontrol' formalName='Incoming Control Point' type='Float2'/>
370
+ <Property name='outgoingcontrol' formalName='Outgoing Control Point' type='Float2'/>
371
+ </PathAnchorPoint>
372
+ <RenderPlugin>
373
+ <Property name="name" formalName="Name" type="String" default="RenderPlugin" hidden="True" />
374
+ </RenderPlugin>
375
+ <Scene>
376
+ <Property name="name" formalName="Name" type="String" default="Scene" hidden="True" />
377
+ <Property name="bgcolorenable" formalName="Use Background" description="Clear the contents to a solid color before each frame?" type="Boolean" default="True" />
378
+ <Property name="backgroundcolor" formalName="Background Color" description="Color to use for the background" type="Color" animatable="False">
379
+ <ShowIfEqual property="bgcolorenable" value="True"/>
380
+ </Property>
381
+ <Event name="onPressureDown" category="Gesture" />
382
+ <Event name="onPressureUp" category="Gesture" />
383
+ <Event name="onTap" category="Gesture" />
384
+ <Event name="onSingleTap" category="Gesture" />
385
+ <Event name="onDoubleTap" category="Gesture" />
386
+ <Event name="onOnePointDragStart" category="Gesture" />
387
+ <Event name="onOnePointDrag" category="Gesture" />
388
+ <Event name="onOnePointDragRelease" category="Gesture" />
389
+ <Event name="onTwoPointDragStart" category="Gesture" />
390
+ <Event name="onTwoPointDrag" category="Gesture" />
391
+ <Event name="onTwoPointDragRelease" category="Gesture" />
392
+ <Event name="onSwipeLeft" category="Gesture" />
393
+ <Event name="onSwipeRight" category="Gesture" />
394
+ <Event name="onSwipeUp" category="Gesture" />
395
+ <Event name="onSwipeDown" category="Gesture" />
396
+ <Event name="onTwoPointSwipeLeft" category="Gesture" />
397
+ <Event name="onTwoPointSwipeRight" category="Gesture" />
398
+ <Event name="onTwoPointSwipeUp" category="Gesture" />
399
+ <Event name="onTwoPointSwipeDown" category="Gesture" />
400
+ </Scene>
401
+ <Slide>
402
+ <Property name="playmode" formalName="Play Mode" description="Action to take when reaching the end of all timebars on this slide" list="Stop at end:Looping:PingPong:Ping:Play Through To..." default="Stop at end" animatable="False" />
403
+ <Property name="playthroughto" formalName="Play Through To" description="Slide to go to after this one" type="StringListOrInt" list="Next:Previous" default="Next" animatable="False">
404
+ <ShowIfEqual property="playmode" value="Play Through To..."/>
405
+ </Property>
406
+ <Property name="initialplaystate" formalName="Initial Play State" description="Do animations start when coming to this slide?" list="Play:Pause" default="Play" animatable="False" />
407
+ </Slide>
408
+ <SlideOwner>
409
+ <Event name="onSlideEnter" category="Slide" description="Fired when the slide is changing" />
410
+ <Event name="onSlideExit" category="Slide" description="Fired when the slide is changing" />
411
+ <Handler name="Go to Time" category="Time" description="Set the current time on the component.">
412
+ <Argument name="Time" description="Time to go do" />
413
+ <Argument name="Pause" description="Pause playback at the new time?" type="Boolean" />
414
+ </Handler>
415
+ <Handler name="Play" category="Time" description="Start the component's time playing." />
416
+ <Handler name="Pause" category="Time" description="Pause the component's time." />
417
+ <Handler name="Go to Slide" category="Slide" description="Go to a specified slide of the component.">
418
+ <Argument name="Slide" description="Target slide to go to" type="Slide" argumentType="Slide" />
419
+ </Handler>
420
+ <Handler name="Next Slide" category="Slide" description="Activate the next slide of the component." />
421
+ <Handler name="Previous Slide" category="Slide" description="Activate the previous slide of the component." />
422
+ <Handler name="Preceding Slide" category="Slide" description="Activate the slide that was previously active." />
423
+ </SlideOwner>
424
+ <Text>
425
+ <Property name="name" formalName="Name" type="String" default="Text" hidden="True" />
426
+ <Property name="textstring" formalName="Text String" description="Text String" type="MultiLineString" default="Text" />
427
+ <Property name="textcolor" formalName="Text Color" description="Text Color" type="Color" default="1 1 1" />
428
+ <Property name="font" formalName="Font" description="Font" type="Font" default="Arimo-Regular" />
429
+ <Property name="size" formalName="Font Size" description="Font Size" type="FontSize" default="24" animatable="False" />
430
+ <Property name="horzalign" formalName="Horizontal Alignment" description="Horizontal Alignment" list="Left:Center:Right" default="Center" />
431
+ <Property name="vertalign" formalName="Vertical Alignment" description="Vertical Alignment" list="Top:Middle:Bottom" default="Middle" />
432
+ <Property name="leading" formalName="Leading" description="Leading" />
433
+ <Property name="tracking" formalName="Tracking" description="Tracking" />
434
+ </Text>
435
+ </MetaData>