home *** CD-ROM | disk | FTP | other *** search
/ Computer Active Guide 2009 April / CAGidas04.iso / Programos / wlsetup-all.exe / MovieMaker.msi / FadeInFromWhiteEffectTemplate < prev    next >
Encoding:
Extensible Markup Language  |  2009-07-19  |  4.1 KB  |  74 lines

  1. ∩╗┐<?xml version="1.0" encoding="UTF-8"?>
  2. <X3D profile="Immersive"  version="3.1">
  3.   <Transform>
  4.     <MetadataSet name='Template'>
  5.       <MetadataString containerField='value' name='TemplateID' value='"FadeInFromWhiteEffectTemplate"'/>
  6.       <MetadataInteger containerField='value' name='TemplateKind' value='3'/>
  7.       <MetadataString containerField='value' name='TimeDependentNode' value='""'/>
  8.       <MetadataString containerField='value' name='TemplateTitle' value='"@"'/>
  9.       <MetadataString containerField='value' name='TemplateCategory' value='"Motions and Fades"'/>
  10.       <MetadataString containerField='value' name='TemplateThumbnailPath' value='""'/>
  11.       <MetadataInteger containerField='value' name='TemplateSubType' value='1'/>
  12.       <MetadataInteger containerField='value' name='TemplateEffectKind' value='1'/>
  13.     </MetadataSet>
  14.  
  15.     <!--OUT properties -->
  16.     <Transform>
  17.       <MetadataSet DEF='OutSockets'>
  18.         <MetadataSet containerField='value' name='OutSocket'>
  19.           <MetadataString containerField='value' name='socketName' value='"effectShader"'/>
  20.           <MetadataFloat containerField='value' name='socketCompatibilitySet' value='1.0'/>
  21.           <MetadataString containerField='value' name='socketConnectToExtent' value='"current"'/>
  22.           <MetadataString containerField='value' name='socketParentDEF' value='""'/>
  23.           <MetadataString containerField='value' name='socketChildNodeDEF' value='"FadeInShader"'/>
  24.         </MetadataSet>
  25.       </MetadataSet>
  26.     </Transform>
  27.  
  28.     <!--IN properties -->
  29.     <Transform>
  30.       <MetadataSet DEF='InSockets'>
  31.         <MetadataSet containerField='value' name='InSocket'>
  32.           <MetadataString containerField='value' name='socketName' value='"effectTimer"'/>
  33.           <MetadataFloat containerField='value' name='socketCompatibilitySet' value='1.0'/>
  34.           <MetadataString containerField='value' name='socketParentDEF' value='"FadeInEffectInterpolator"'/>
  35.           <MetadataString containerField='value' name='socketConnectAttribute' value='"set_fraction"'/>
  36.         </MetadataSet>
  37.         <MetadataSet containerField='value' name='InSocket'>
  38.           <MetadataString containerField='value' name='socketName' value='"effectDuration"'/>
  39.           <MetadataFloat containerField='value' name='socketCompatibilitySet' value='1.0'/>
  40.           <MetadataString containerField='value' name='socketParentDEF' value='"FadeInEffectDurationToFractionInterpolator"'/>
  41.           <MetadataString containerField='value' name='socketConnectAttribute' value='"key"'/>
  42.           <MetadataInteger containerField='value' name='socketConnectIndex' value='1'/>
  43.         </MetadataSet>
  44.       </MetadataSet>
  45.     </Transform>
  46.  
  47.     <!--Socket Nodes scratch pad (only nodes with def's are injected)-->
  48.     <Transform>
  49.       <Shape>
  50.       <Appearance>
  51.         <FadeShader DEF='FadeInShader' fromColor='1 1 1 1'/>
  52.       </Appearance>
  53.     </Shape>
  54.     </Transform>
  55.  
  56.     <!--Nodes that need to be injected-->
  57.     <Transform DEF='InjectSet'>
  58.       <!--Use the duration (replacing the placeholder 5) to convert the desired fade-in time (0.6 seconds) to a fraction of the total length-->
  59.       <ScalarInterpolator DEF='FadeInEffectDurationToFractionInterpolator' key='0 5' keyValue='0 1' set_fraction='0.6'/>
  60.  
  61.       <!--Limit the fade duration to no more than 3/10 of the clip duration-->
  62.       <ScalarInterpolator DEF='FadeInEffectFractionLimiterInterpolator' key='0 0.3' keyValue='0 0.3'/>
  63.  
  64.       <!--The appropriate fraction is routed into the second key entry-->
  65.       <ScalarInterpolator DEF='FadeInEffectInterpolator' key='0 0.12 1' keyValue='0 1 1'/>
  66.  
  67.       <ROUTE fromNode='FadeInEffectDurationToFractionInterpolator' fromField='value_changed' toNode='FadeInEffectFractionLimiterInterpolator' toField='set_fraction'/>
  68.       <ROUTE fromNode='FadeInEffectFractionLimiterInterpolator' fromField='value_changed' toNode='FadeInEffectInterpolator' toField='key' toIndex='1'/>
  69.       <ROUTE fromNode='FadeInEffectInterpolator' fromField='value_changed' toNode='FadeInShader' toField='set_fraction'/>
  70.     </Transform>
  71.  
  72.   </Transform>
  73. </X3D>
  74.