User Tools

Site Tools


macros:example:capturediagnostics

Example

Capture - Diagnostics

by: Alex del Bondio, April 2019
published: here
description: show Capture diagnostics
remarks:

Remarks

  • 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.

functions

affected properties

Code

capturediagnostics.xml
<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
 
  <!-- Diagnostics, Alex del Bondio - April 2019 -->
  <macro id="adb.Macros.Capture.showdiagnostics" name="Capture Show Diagnostics">
    <active binding="Visualiser.Capture.ShowDiagnostics" />
    <sequence>
      <step>ActionScript.SetProperty.Boolean("Visualiser.Capture.ShowDiagnostics", true)</step>
    </sequence>
  </macro>
 
  <macro id="adb.Macros.Capture.hidediagnostics" name="Capture Hide Diagnostics">
    <active binding="{propertyLink id='Visualiser.Capture.ShowDiagnostics' converter='Math.NotConverter'}" />
    <sequence>
      <step>ActionScript.SetProperty.Boolean("Visualiser.Capture.ShowDiagnostics", false)</step>
    </sequence>
  </macro>
 
 
</avolites.macros>

Explanation

This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax

  • Visualiser.Capture.ShowDiagnostics turns either on or off the diagnostics which are shown in the Capture workspace

How to use it

You could leave a comment if you were logged in.
macros/example/capturediagnostics.txt · Last modified: 2019/05/05 09:07 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki