LiveLink Plugin User Data
The LONET Client Unreal plugin adds a function that allows users to pass arbitrary numerical data into Unreal, which is exposed as a subject in LiveLink.
Users can create an unlimited amount of subjects, and each subject can have up to six numerical values. To create a subject, simply form a data packet following the User Data Structure, and send to the Unreal machine through UDP.
User Data Packet Structure
There is a byte limit of 1024 total per packet. The packet is delimited by commas. If a packet is sent from a subject name that has not yet been received, it will be added as a new subject. Subsequent packets sent with that name will automatically update that subjects frame data.
Example Python Code
Result of code in Unreal:
The six user data properties can be accessed with the Get Property Values node on the frame data in Blueprints, or in the array created by breaking the LiveLink frame data.