User Tools

Site Tools


macros:example:captureambientlighting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
macros:example:captureambientlighting [2019/04/28 16:50] – created sideshowbondmacros:example:captureambientlighting [2019/05/05 12:12] (current) – external edit 127.0.0.1
Line 14: Line 14:
  
 ==== functions ==== ==== functions ====
-  * [[:macros:function:ActionScript.SetProperty]]+  * [[:macros:function:ActionScript.SetProperty.Float]]
  
 ==== affected properties ==== ==== affected properties ====
Line 26: Line 26:
  
   <!-- AmbientLighting, Alex del Bondio - April 2019 -->   <!-- AmbientLighting, Alex del Bondio - April 2019 -->
-    <macro id="adb.Macros.Capture.day" name="Capture Day"> +  <macro id="adb.Macros.Capture.day" name="Capture Day"> 
-        <active binding="{propertyLink id='Visualiser.Capture.AmbientLighting' converter='Math.EqualityConverter' converterParameter='1'}"/> +    <active binding="{propertyLink id='Visualiser.Capture.AmbientLighting'  
-        <sequence> +      converter='Math.EqualityConverter'  
-            <step>ActionScript.SetProperty.Float("Visualiser.Capture.AmbientLighting", 1)</step> +      converterParameter='1'}"/> 
-            <step>ActionScript.SetProperty.Float("Visualiser.Capture.ExposureAdjustment", 1)</step> +    <sequence> 
-        </sequence> +      <step>ActionScript.SetProperty.Float("Visualiser.Capture.AmbientLighting", 1)</step> 
-    </macro> +      <step>ActionScript.SetProperty.Float("Visualiser.Capture.ExposureAdjustment", 1)</step> 
-    <macro id="adb.Macros.Capture.dusk" name="Capture Dusk"> +    </sequence> 
-        <active binding="{propertyLink id='Visualiser.Capture.AmbientLighting' converter='Math.EqualityConverter' converterParameter='0.3'}"/> +  </macro> 
-        <sequence> +   
-            <step>ActionScript.SetProperty.Float("Visualiser.Capture.AmbientLighting", 0.3)</step> +  <macro id="adb.Macros.Capture.dusk" name="Capture Dusk"> 
-            <step>ActionScript.SetProperty.Float("Visualiser.Capture.ExposureAdjustment", 0.5)</step> +    <active binding="{propertyLink id='Visualiser.Capture.AmbientLighting'  
-        </sequence> +      converter='Math.EqualityConverter'  
-    </macro> +      converterParameter='0.3'}"/> 
-    <macro id="adb.Macros.Capture.night" name="Capture Night"> +    <sequence> 
-        <active binding="{propertyLink id='Visualiser.Capture.AmbientLighting' converter='Math.EqualityConverter' converterParameter='0.05'}"/> +      <step>ActionScript.SetProperty.Float("Visualiser.Capture.AmbientLighting", 0.3)</step> 
-        <sequence> +      <step>ActionScript.SetProperty.Float("Visualiser.Capture.ExposureAdjustment", 0.5)</step> 
-            <step>ActionScript.SetProperty.Float("Visualiser.Capture.AmbientLighting", 0.05)</step> +    </sequence> 
-            <step>ActionScript.SetProperty.Float("Visualiser.Capture.ExposureAdjustment", 0.5)</step> +  </macro> 
-        </sequence> +   
-    </macro>+  <macro id="adb.Macros.Capture.night" name="Capture Night"> 
 +    <active binding="{propertyLink id='Visualiser.Capture.AmbientLighting'  
 +      converter='Math.EqualityConverter'  
 +      converterParameter='0.05'}"/> 
 +    <sequence> 
 +      <step>ActionScript.SetProperty.Float("Visualiser.Capture.AmbientLighting", 0.05)</step> 
 +      <step>ActionScript.SetProperty.Float("Visualiser.Capture.ExposureAdjustment", 0.5)</step> 
 +    </sequence> 
 +  </macro>
  
 </avolites.macros> </avolites.macros>
macros/example/captureambientlighting.1556470248.txt.gz · Last modified: 2019/04/28 16:50 by sideshowbond

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki