This page covers how to connect to a Vicon Datastream within Unreal Engine. This involves creating a Link Link source and there are several ways to do this, all of which are covered in the following sections.
To create a Live Link source, ensure you have set up and installed the following components:
Go to Window > Virtual Production > Live Link.
Click Source and select Vicon Datastream Source.
In the Vicon Server Name field, enter the IP address of the Vicon machine.
Click Create to create the Live Link connection.
The Live Link connection is now displayed in the Source pane of the Live Link dialog box, with the subjects displayed in the Subject pane.
Connecting to a Vicon Datastream using blueprint functions involves the following stages:
Go to Window > Content Browser > Content Browser 01.
In the All Actions for this Blueprint dialog box, search for Create Vicon Live Link Source.
Connect an event trigger to the input of the node. This example uses the event EventBeginPlay as this creates a Live Link connection when play starts.
Enter the following parameters into the Link Link node:
The IP address of the Vicon machine.
In Port Number enter either - 801 (the Vicon default) or 804 (the Evoke Low Latency output or Shogun Always Live output).
Tip |
In the Source panel, check that a source has been successfully created.
Ensure the output log reports the same input parameters for Unreal Engine and the source at creation.
Connecting to a Vicon Datastream using Presets involves the following stages:
Create a Live Link source in Unreal Engine. For more information, see Connect to Vicon Datastream using Live Link.
When an active Live Link source has been created, in the Live Link dialog box, click the Presets button next to Add Source.
Click Save As Preset and enter an appropriate name.
Select the preset you just created.
After selecting the preset, click on the Source panel to ensure the Live Link source has been added to the preset.
Go to Edit > Project Settings.
Live Link
.Select the preset you just created.
Restart your project.
After you have restarted your project, check the Live Link connection has been created.