C

Using Data Inputs

This is a technology preview of how Qt 3D Studio could support data-driven animations. This makes it possible to control timeline animations and slides with data input. Additionally you can control the text property of a text object with data input.

The data input value can be set using behavior scripts or the DataInput QML Type.

Manage Data Inputs

Add a Data Input

To add a new data input, follow the steps below.

  1. Select Edit > Data Inputs from the file menu in Studio.
  2. Click the icon.
  3. Enter Name for the data input.
  4. Enter Input Type for the data input. If Ranged Number is selected, it is required to specify Minimum Range and Maximum Range.
  5. Click OK.

Edit a Data Input

To edit a data input, follow the steps below.

  1. Select Edit > Data Inputs from the file menu in Studio.
  2. Select the data input you want to edit by clicking on it.

    Or

    Double-click the data input you want to edit (then skip to step 4).

  3. Click the icon.
  4. Make desired changes.
  5. Click OK.

Delete a Data Input

To delete a data input, follow the steps below.

  1. Select Edit > Data Inputs from the file menu in Studio.
  2. Select the data input you want to delete by clicking on it.
  3. Click the icon.

Control the Timeline with Data Input

Note: Only data input of Ranged Number type can be used to control the timeline.

To add a data input to control the timeline animation, follow the instructions below.

  1. Add the data input according to instructions above.
  2. Click the icon located in the bottom of the scene graph.
  3. Select the desired data input from the list by clicking it.
  4. Press OK.

The minimum range value of the data input will correspond to the start of the timeline while the maximum range value will correspond to the end of the timeline.

When you have selected a data input for the timeline the data input will turn orange to indicate that the timeline is connected to a data input, and the name of the data input is shown next to the icon.

To remove the data input, repeat the steps below but select [No control] in step 3.

Control Slides with Data Input

Note: Only data input of String type can be used to control slides.

  1. Add the data input according to instructions above.
  2. In the slide palette, click the icon located below the slides.
  3. Select the desired data input from the list by clicking it.
  4. Press OK.

When you have selected a data input for the slides data input icon in the inspector palette will turn orange to indicate that the slides are connected to a data input, and the name of the data input is shown next to the icon.

To remove the data input, repeat the steps below but select [No control] in step 3.

Control an Object Property with Data Input

  1. Add the data input according to instructions above.
  2. Select the desired text object in the scene graph.
  3. In the inspector palette, click the icon next to the text string property.
  4. Select the desired data input from the list by clicking it.
  5. Press OK.

When you have selected a data input for the text object the text string property and the data input icon in the inspector palette will turn orange to indicate that the property is connected to a data input, and the name of the data input is shown next to the icon.

To remove the data input, repeat the steps below but select [No control] in step 4.

Available under certain Qt licenses.
Find out more.