User Tools

Site Tools


macros:example:capturediagnostics

Differences

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

Link to this comparison view

Next revision
Previous revision
macros:example:capturediagnostics [2019/04/28 16:54] – created sideshowbondmacros:example:capturediagnostics [2019/05/05 09:07] (current) – external edit 127.0.0.1
Line 9: Line 9:
  
 Remarks Remarks
-  * these macros turn on or off the diagnostics in Capture which shows you things like frame rate, render details etc. I have not found a way to do this in a generic way on the console.+  * these macros turn on or off the diagnostics in Capture which show you things like frame rate, render details etc. I have not found a way to do this in a generic way on the console.
  
 {{tag> capture diagnostic settings }} {{tag> capture diagnostic settings }}
  
 ==== functions ==== ==== functions ====
-  * [[:macros:function:ActionScript.SetProperty]]+  * [[:macros:function:ActionScript.SetProperty.boolean]]
  
 ==== affected properties ==== ==== affected properties ====
Line 25: Line 25:
  
   <!-- Diagnostics, Alex del Bondio - April 2019 -->   <!-- Diagnostics, Alex del Bondio - April 2019 -->
-    <macro id="adb.Macros.Capture.showdiagnostics" name="Capture Show Diagnostics"> +  <macro id="adb.Macros.Capture.showdiagnostics" name="Capture Show Diagnostics"> 
-        <active binding="Visualiser.Capture.ShowDiagnostics" /> +    <active binding="Visualiser.Capture.ShowDiagnostics" /> 
-        <sequence> +    <sequence> 
-            <step>ActionScript.SetProperty.Boolean("Visualiser.Capture.ShowDiagnostics", true)</step> +      <step>ActionScript.SetProperty.Boolean("Visualiser.Capture.ShowDiagnostics", true)</step> 
-        </sequence> +    </sequence> 
-    </macro> +  </macro> 
-    <macro id="adb.Macros.Capture.hidediagnostics" name="Capture Hide Diagnostics"> +   
-        <active binding="{propertyLink id='Visualiser.Capture.ShowDiagnostics' converter='Math.NotConverter'}" /> +  <macro id="adb.Macros.Capture.hidediagnostics" name="Capture Hide Diagnostics"> 
-        <sequence> +    <active binding="{propertyLink id='Visualiser.Capture.ShowDiagnostics' converter='Math.NotConverter'}" /> 
-            <step>ActionScript.SetProperty.Boolean("Visualiser.Capture.ShowDiagnostics", false)</step> +    <sequence> 
-        </sequence> +      <step>ActionScript.SetProperty.Boolean("Visualiser.Capture.ShowDiagnostics", false)</step> 
-    </macro>+    </sequence> 
 +  </macro>
  
  
macros/example/capturediagnostics.1556470480.txt.gz · Last modified: 2019/04/28 16:54 by sideshowbond

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki