Create variables in graphics

When you customize graphics in the Designer you can create variables for design layers which allows manual entry or data sources to display custom information in a graphic, including variables for text, colors, gradients, images/videos and live video sources. You can also create variables for data-driven design layers, including polls, scoreboards, data graphs, and more.

  1. In Titler Live's playout interface, open a project (if a project isn't already open) and select a graphic layer in the Layer's workspace.

    Tip: Want to create a new graphic? Open the Graphics Library panel and drag a design from the library to the Layers workspace.

  2. Click the Edit Graphic button in the Preview panel. The selected graphic opens in the Designer. All variables enabled within a graphic will appear in Properties > Global > Variables. 

    TL5_Global_Tab.png

    Tip: To change the order of variables, click and hold the reorder btn-reorder.png button and drag the variable up and down to a new position. This variable order will be reflected in your Layer Properties panel from the playout interface.

  3. If you haven't already created and customized the design layers for which you want to create variables, do so now. For details, see the articles in the Customize text, objects, and scenes section of our help center.
  4. See the following sections to create variables. When you're finished, you can view the variables in the Properties > Global > Variables tab of the Designer and in the Layer Properties tab of the playout interface.

Important! Click the green checkmark at the bottom of the Timeline panel to confirm any changes done from the Designer so those updates are applied to the graphic layer being used for your project. 

Create color, gradient, image, and pre-recorded video variables

  1. Select an object in the Title Designer's workspace or timeline.
  2. Click the Attributes > Object > Style tab.
  3. Select the Color, Gradient, or Image/Video option within a style element in the Style Settings.
  4. Mark the Variable checkbox within the style element.
  5. If you plan to connect the variable to a data source, select a data source from the first drop-down list below the Variable checkbox. Otherwise, if you plan to manually link the data for the variable, select None or leave the selection blank.
  6. In the drop-down list below and to the right of the Variable checkbox select a name for the variable or enter your own.

    Tip: If your graphic is already connected to a data source from your Layer's workspace in the playout interface, then the drop down on the left will show that data source and the right drop down will show all variable names available for that data source.

    TL5_Style_Settings.png

  7. Image/video variables only: If the Image/Video option is selected and you want to control how an image or video fits within the design layer's bounding box, select one of the following options from the drop-down list below the variable drop downs.
    • Fill: The image fills all of the available space in the design layer's bounding box and maintains its proportions.
    • Fit: The image fits inside the design layer's dimensions without cropping and retains its aspect ratio, which means the image may not fill the entire design layer's area.
    • Stretch: The entire image resizes to fit in the entire design layer's area, but may not maintain its aspect ratio.

After you finish customizing and enabling variables on your graphic click the green check mark from the Designer, to connect your design to a data source and drive data to a variable, see one of the articles in the Connect data to graphics section of our help center.

Back to list of variables

Translate color, image/video variables

Note: Gradient variables cannot be translated.

  1. Create a variable if you haven't already, as described in the Create color, gradient, image/video variables section.
  2. In the Properties > Layers > Style tab, mark the Variable Translation checkbox in the 3D or 2D style layer section.
  3. Double-click the field in the Value In column and enter the incoming value that you want to replace.
  4. Double-click the field in the Value Out column and enter the value that you want to display in the graphic.
  5. Repeat the previous two steps for each value that you want to translate.

Back to list of variables

Create text variables

Text variables can be names, subtitles, or any other alphanumeric information.

  1. Select text layer in the Designer's timeline workspace.
  2. Click the Properties > Layer > Motion & Data tab.
  3. Mark the Text Variable checkbox in the Variable Settings section.

    Note: This checkbox is already marked if you added this text object as a text variable, as described in Add and modify text layers.

  4. If you plan to connect the text variable to a data source, select a data source from the drop-down list below the Text Variable checkbox and on the left. Otherwise, if you plan to manually enter data for the text variable, select None or leave the selection blank.
  5. In the drop-down list below and to the right of the Text Variable checkbox select a name for the variable.

    Tip: To create a new variable name, double-click the name that is already selected in the drop-down list, enter a name, and press TAB to save the new name.

    variables-text-settings.png

Later, after you finish customizing the graphic and close the Designer. If you want to connect your graphic to a data source and drive data to the text variable, see one of the articles in the Connect data to graphics section of our help center.

Tips

Back to list of variables

Translate text variables

Titler Live can read incoming data and display alternate text in a graphic. For example, if you create a scoreboard for a hockey game, which includes three periods and an intermission after the first and second periods, most scoreboard controllers represent the first intermission as a value of 1.5 and the second intermission as a value of 2.5. With the text translation variable, you can enter a value that you want to appear in the graphic for certain incoming data.

  1. Create a text variable if you haven't already, as described in the Create text variables section.
  2. In the Properties > Layer > Motion & Data tab, mark the Text Variable Translation checkbox in the Variable Settings section.
  3. Double-click the field in the Value In column and enter the incoming value that you want to replace.
  4. Double-click the field in the Value Out column and enter the text that you want to display in the graphic.
  5. Repeat the previous two steps for each value that you want to translate.

    variables-translate-text-settings.png

    The following illustration shows the Period variable's incoming data is 1.5 which is translated to 1st INT in the graphic.

    variables-translate-text.png

Back to list of variables

Create data graph variables

Use data graph variables with text or shape layers to show a percentage or quantity that changes dynamically based on incoming data.

TL5_Data_Graph.png

  1. In the Title Designer's workspace or timeline, select an object that you want to represent data, or create a new object. The object must include a starting animation effect, transition, or keyframe. If the object doesn't include one of those attributes, the data graph variable will reflect the correct values, but will remain static.

    Note: If you don't connect the object to a data source that is sending numeric values, or if you will connect the object to a data source other than a Facebook comment or reaction poll, the data graph variable can only be used to represent percentages by text or image.

  2. With an object selected in the design, click the Properties > Layer > Motion & Data tab.
  3. Mark the Data Graph Variable checkbox in the NTX Playback Features section.

    TL5_Data_Graph_Variable.png

  4. If you plan to connect the data graph variable to a data source, select a data source from the drop-down list below the Data Graph Variable checkbox and on the left. Otherwise, if you plan to manually enter data for the data graph variable, select None or leave the selection blank.
  5. In the drop-down list below and to the right of the Data Graph Variable checkbox, select a name for the data graph variable.

    Tip: To create a new variable name, double-click the name that is already selected in the drop-down list, enter a name, and press TAB to save the new name.

  6. Repeat the previous steps in this section to create additional data graph variables in your design.

Later, after you finish customizing the design and close the Designer, if you want to connect your graphic to a data source and drive data to the data graph variables, see one of the articles in the Connect data to graphics section of our help center.

Back to list of variables

Create live video variables

Live video variables are objects that link to a webcam or NDI-enabled camera.

  1. Select a layer in the Designer's canvas or timeline workspace.
  2. Confirm the selected layer's dimensions match the aspect ratio of the live video source and, if necessary, resize the layer.

    Note: If the layer's dimensions don't match the aspect ratio of the video source, the live video will cropped to the layer's dimensions but retain the aspect ratio of the video source.

  3. Click the Properties > Layer > Motion & Data tab.
  4. Mark the Live Video Variable checkbox in the NTX Playback Features section.
  5. Enter a name for the variable in the available field.

    variables-live-video-checkbox.png

Later, after you finish customizing the design click the green checkmark at the bottom of the Timeline workspace panel, you can select a video source for the graphic's live video variable from within the playout interface from the Layer Properties panel. See Update variables in live graphics for details.

Back to list of variables

Create visibility variables

A visibility variable is a layer that appears in a graphic only when data is present for that layer. When data is not present, a visibility variable layer is hidden.

  1. Select an object in the Designer's canvas or timeline workspace.
  2. Click the Properties > Layer > Motion & Data tab.
  3. Mark the Visibility Variables checkbox in the Variable Settings section.
  4. If you plan to connect the visibility variable to a data source, select a data source from the drop-down list below the Visibility Variables checkbox and on the left. Otherwise, if you plan to manually enter data for the data graph variable, select None or leave the selection blank.
  5. In the drop-down list below and to the right of the Visibility Variables checkbox select a name for the variable.

    Tip: To create a new variable name, double-click the name that is already selected in the drop-down list, enter a name, and press TAB to save the new name.

    TL5_Visibility.png

Later, after you finish customizing the graphic and close the Designer, if you want to connect your graphic to a data source and drive data to the visibility variable, see one of the articles in the Connect data to graphics section of our help center.

Back to list of variables

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request